[PATCH] [x32] Fix FrameIndex check in SelectLEA64_32Addr
Derek Schuff
dschuff at google.com
Tue Aug 19 10:12:12 PDT 2014
================
Comment at: test/CodeGen/X86/lea-5.ll:5
@@ +4,3 @@
+
+; RUN: sed 's/ALIGNMENT/align 16/' %s | llc -mtriple=x86_64-linux -O2 | FileCheck %s
+; RUN: sed 's/ALIGNMENT/align 16/' %s | llc -mtriple=x86_64-linux-gnux32 -O2 | FileCheck %s -check-prefix=X32
----------------
Unfortunately this won't work in environments without sed (none of the other tests use sed either). While it's not great, it's probably better just to duplicate this test function with the other alignment. (presumably then you can also de-regex the -40 in the CHECK line?)
http://reviews.llvm.org/D4929
More information about the llvm-commits
mailing list