aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2020-05-12 17:08:24 -0400
committerSanjay Patel <spatel@rotateright.com>2020-05-12 18:40:40 -0400
commitf490ca76b0ee69dd091a5535dbb948f123a96e2e (patch)
tree7b2ecf855980afc54e51f77e520390ba5700cd28 /llvm/unittests/Support/VirtualFileSystemTest.cpp
parenta9e856265146cd32364e358e2224d8d581a4c226 (diff)
downloadllvm-f490ca76b0ee69dd091a5535dbb948f123a96e2e.zip
llvm-f490ca76b0ee69dd091a5535dbb948f123a96e2e.tar.gz
llvm-f490ca76b0ee69dd091a5535dbb948f123a96e2e.tar.bz2
[x86][CGP] enable target hook to sink funnel shift intrinsic's splatted shift amount
SDAG suffers when it can't see that a funnel operand is a splat value (due to single-basic-block visibility), so invert the normal loop hoisting rules to move a splat op closer to its use. This would be part 1 of an enhancement similar to D63233. This is needed to re-fix PR37426: https://bugs.llvm.org/show_bug.cgi?id=37426 ...because we got better at canonicalizing IR to funnel shift intrinsics. The existing CGP code for shift opcodes is likely overstepping what it was intended to do, so that will be fixed in a follow-up. Differential Revision: https://reviews.llvm.org/D79718
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions