aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-09-04 23:22:13 +0000
committerSanjay Patel <spatel@rotateright.com>2018-09-04 23:22:13 +0000
commit63cf26cf019ccffe107b78e57f2b1417ac7a8123 (patch)
treeb10fa0cd716a6e96af908a98baf5c2884e3fa247 /llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
parent412f24dd2d987973b0b3be40957574e682bf1530 (diff)
downloadllvm-63cf26cf019ccffe107b78e57f2b1417ac7a8123.zip
llvm-63cf26cf019ccffe107b78e57f2b1417ac7a8123.tar.gz
llvm-63cf26cf019ccffe107b78e57f2b1417ac7a8123.tar.bz2
[InstCombine] fix xor-or-xor fold to check uses and handle commutes
I'm probably missing some way to use m_Deferred to remove the code duplication, but that can be a follow-up. The improvement in demand_shrink_nsw.ll is an example of missing the fold because the pattern matching was deficient. I didn't try to follow the bits in that test, but Alive says it's correct: https://rise4fun.com/Alive/ugc llvm-svn: 341426
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp')
0 files changed, 0 insertions, 0 deletions