[llvm] r225434 - Fix test case I missed in r225432.

Craig Topper craig.topper at gmail.com
Wed Jan 7 23:57:27 PST 2015


Author: ctopper
Date: Thu Jan  8 01:57:27 2015
New Revision: 225434

URL: http://llvm.org/viewvc/llvm-project?rev=225434&view=rev
Log:
Fix test case I missed in r225432.

Modified:
    llvm/trunk/test/CodeGen/X86/lea-2.ll

Modified: llvm/trunk/test/CodeGen/X86/lea-2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/lea-2.ll?rev=225434&r1=225433&r2=225434&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/lea-2.ll (original)
+++ llvm/trunk/test/CodeGen/X86/lea-2.ll Thu Jan  8 01:57:27 2015
@@ -10,7 +10,7 @@ define i32 @test1(i32 %A, i32 %B) {
 ; The above computation of %tmp4 should match a single lea, without using
 ; actual add instructions.
 ; CHECK-NOT: add
-; CHECK: lea {{[a-z]+}}, dword ptr [{{[a-z]+}} + 4*{{[a-z]+}} - 5]
+; CHECK: lea {{[a-z]+}}, [{{[a-z]+}} + 4*{{[a-z]+}} - 5]
 
   ret i32 %tmp4
 }





More information about the llvm-commits mailing list