commit | cecee56abb688cd98f0dc9334acdfec8831f7ddd | [log] [tgz] |
---|---|---|
author | Tim Northover <tnorthover@apple.com> | Fri Aug 26 17:46:13 2016 +0000 |
committer | Tim Northover <tnorthover@apple.com> | Fri Aug 26 17:46:13 2016 +0000 |
tree | 17e1fa4c89a21a4b8041b088bd8d3d7a35e96bfd | |
parent | 7a753d9bec529698c16475c72cf1de386b63381f [diff] [blame] |
GlobalISel: legalize sdiv and srem operations. llvm-svn: 279842
diff --git a/llvm/lib/CodeGen/GlobalISel/MachineLegalizer.cpp b/llvm/lib/CodeGen/GlobalISel/MachineLegalizer.cpp index 873288e..c6ee362 100644 --- a/llvm/lib/CodeGen/GlobalISel/MachineLegalizer.cpp +++ b/llvm/lib/CodeGen/GlobalISel/MachineLegalizer.cpp
@@ -126,6 +126,7 @@ default: llvm_unreachable("Cannot find legal type"); case Legal: + case Lower: return Aspect.Type; case NarrowScalar: { return findLegalType(Aspect,