diff options
author | Sanjay Patel <spatel@rotateright.com> | 2019-05-12 14:43:20 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2019-05-12 14:43:20 +0000 |
commit | a09e6868218b3a26df7b43aaf2458899e8e8d240 (patch) | |
tree | dfe3672d445275e938133f666803c6a1d5ee43d4 /llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp | |
parent | de7a30cb0a0f911aba1b43c39598860475fcfe64 (diff) | |
download | llvm-a09e6868218b3a26df7b43aaf2458899e8e8d240.zip llvm-a09e6868218b3a26df7b43aaf2458899e8e8d240.tar.gz llvm-a09e6868218b3a26df7b43aaf2458899e8e8d240.tar.bz2 |
[DAGCombiner] try to move bitcast after extract_subvector
I noticed that we were failing to narrow an x86 ymm math op in a case similar
to the 'madd' test diff. That is because a bitcast is sitting between the math
and the extract subvector and thwarting our pattern matching for narrowing:
t56: v8i32 = add t59, t58
t68: v4i64 = bitcast t56
t73: v2i64 = extract_subvector t68, Constant:i64<2>
t96: v4i32 = bitcast t73
There are a few wins and neutral diffs in the other tests.
Differential Revision: https://reviews.llvm.org/D61806
llvm-svn: 360541
Diffstat (limited to 'llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions