[llvm] r297979 - [globalisel] Correct one more simple immediate that should be a ConstantInt.

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 16 12:59:20 PDT 2017


Author: dsanders
Date: Thu Mar 16 14:59:19 2017
New Revision: 297979

URL: http://llvm.org/viewvc/llvm-project?rev=297979&view=rev
Log:
[globalisel] Correct one more simple immediate that should be a ConstantInt.

Modified:
    llvm/trunk/test/CodeGen/AArch64/GlobalISel/select-binop.mir

Modified: llvm/trunk/test/CodeGen/AArch64/GlobalISel/select-binop.mir
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AArch64/GlobalISel/select-binop.mir?rev=297979&r1=297978&r2=297979&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/AArch64/GlobalISel/select-binop.mir (original)
+++ llvm/trunk/test/CodeGen/AArch64/GlobalISel/select-binop.mir Thu Mar 16 14:59:19 2017
@@ -164,7 +164,7 @@ body:             |
     liveins: %x0, %w1
 
     %0(s64) = COPY %x0
-    %1(s64) = G_CONSTANT 1
+    %1(s64) = G_CONSTANT i32 1
     %2(s64) = G_ADD %0, %1
 ...
 




More information about the llvm-commits mailing list