[llvm] r251343 - Fix tests.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 26 13:49:49 PDT 2015


Author: pcc
Date: Mon Oct 26 15:49:49 2015
New Revision: 251343

URL: http://llvm.org/viewvc/llvm-project?rev=251343&view=rev
Log:
Fix tests.

Modified:
    llvm/trunk/test/CodeGen/ARM/fast-isel-pic.ll

Modified: llvm/trunk/test/CodeGen/ARM/fast-isel-pic.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/fast-isel-pic.ll?rev=251343&r1=251342&r2=251343&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/fast-isel-pic.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/fast-isel-pic.ll Mon Oct 26 15:49:49 2015
@@ -25,7 +25,7 @@ entry:
 ; ARMv7-ELF: LoadGV
 ; ARMv7-ELF: ldr r[[reg2:[0-9]+]],
 ; ARMv7-ELF: .LPC
-; ARMv7-ELF-NEXT: add r[[reg2]], pc
+; ARMv7-ELF-NEXT: ldr r[[reg2]], [pc, r[[reg2]]]
 ; ARMv7-ELF: ldr r[[reg2]], [r[[reg2]]]
   %tmp = load i32, i32* @g
   ret i32 %tmp




More information about the llvm-commits mailing list