[PATCH] D23276: [X86][SSE] Fix memory folding of (v)roundsd / (v)roundss
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 8 11:09:08 PDT 2016
RKSimon created this revision.
RKSimon added reviewers: qcolombet, craig.topper, spatel.
RKSimon added a subscriber: llvm-commits.
RKSimon set the repository for this revision to rL LLVM.
We only had partial memory folding support for the intrinsic definitions, and (as noted on PR27481) was causing FR32/FR64/VR128 mismatch errors with the machine verifier.
This patch adds missing memory folding support for both intrinsics and the ffloor/fnearbyint/fceil/frint/ftrunc patterns and in doing so fixes the failing machine verifier stack folding tests from PR27481.
Repository:
rL LLVM
https://reviews.llvm.org/D23276
Files:
lib/Target/X86/X86InstrInfo.cpp
lib/Target/X86/X86InstrSSE.td
test/CodeGen/X86/stack-folding-fp-avx1.ll
test/CodeGen/X86/stack-folding-fp-sse42.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23276.67203.patch
Type: text/x-patch
Size: 8461 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160808/91925917/attachment.bin>
More information about the llvm-commits
mailing list