[PATCH] [x32] Fix FrameIndex check in SelectLEA64_32Addr
Pavel Chupin
pavel.v.chupin at gmail.com
Fri Aug 15 09:02:36 PDT 2014
Hi nadav, dschuff, t.p.northover,
Fixes http://llvm.org/bugs/show_bug.cgi?id=20016 reproducible on new
lea-5.ll case.
Also use RSP/RBP for x32 lea to save 1 byte used for 0x67 prefix in
ESP/EBP case.
http://reviews.llvm.org/D4929
Files:
lib/Target/X86/X86ISelDAGToDAG.cpp
lib/Target/X86/X86RegisterInfo.cpp
test/CodeGen/X86/lea-2.ll
test/CodeGen/X86/lea-3.ll
test/CodeGen/X86/lea-4.ll
test/CodeGen/X86/lea-5.ll
test/CodeGen/X86/lea.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4929.12560.patch
Type: text/x-patch
Size: 5417 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140815/b9124fdd/attachment.bin>
More information about the llvm-commits
mailing list