commit | edb3c8ccb8785c90cee8b71c4ed8eb13b72f9ae4 | [log] [tgz] |
---|---|---|
author | Tim Northover <tnorthover@apple.com> | Mon Aug 29 19:07:16 2016 +0000 |
committer | Tim Northover <tnorthover@apple.com> | Mon Aug 29 19:07:16 2016 +0000 |
tree | d7fcadd47e44fb508c8b6b993e1874ef8237988e | |
parent | fe5f89ba144f03fa10e93307988d787309d3a744 [diff] [blame] |
GlobalISel: legalize frem to a libcall on AArch64. llvm-svn: 279988
diff --git a/llvm/lib/CodeGen/GlobalISel/MachineLegalizer.cpp b/llvm/lib/CodeGen/GlobalISel/MachineLegalizer.cpp index c6ee362..11b04f4 100644 --- a/llvm/lib/CodeGen/GlobalISel/MachineLegalizer.cpp +++ b/llvm/lib/CodeGen/GlobalISel/MachineLegalizer.cpp
@@ -127,6 +127,7 @@ llvm_unreachable("Cannot find legal type"); case Legal: case Lower: + case Libcall: return Aspect.Type; case NarrowScalar: { return findLegalType(Aspect,