[PATCH] prevent folding a scalar FP load into a packed logical FP instruction (PR22371)

Sanjay Patel spatel at rotateright.com
Wed Feb 11 12:39:49 PST 2015


Updated patch:

1. Rather than XFAIL the existing test case, check to make sure we don't fold an oversized load.
2. r228671 (no test cases?) compounded the bug by adding the AVX FP scalar FP logical ops to the load folding tables; removed those and added the AVX vector FP logical ops.
3. There's still a bug in the SSE scalar FP logical ops; added a FIXME so we don't lose track of that.


http://reviews.llvm.org/D7474

Files:
  lib/Target/X86/X86InstrFragmentsSIMD.td
  lib/Target/X86/X86InstrInfo.cpp
  lib/Target/X86/X86InstrSSE.td
  test/CodeGen/X86/stack-align.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7474.19776.patch
Type: text/x-patch
Size: 8625 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150211/569c4818/attachment.bin>


More information about the llvm-commits mailing list