[PATCH] [x32] Fix FrameIndex check in SelectLEA64_32Addr

Pavel Chupin pavel.v.chupin at gmail.com
Tue Aug 19 08:54:38 PDT 2014


It's appeared that last version of patch is not correct because both needsStackRealignment and Opc == X86::LEA64_32r can be true at the same time. Making this check separate again and adding test revealing that.
Please review.

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.12665.patch
Type: text/x-patch
Size: 5061 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140819/fb0d7bdb/attachment.bin>


More information about the llvm-commits mailing list