diff options
author | Simon Pilgrim <RKSimon@users.noreply.github.com> | 2023-12-18 16:21:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-18 16:21:11 +0000 |
commit | 7b1e4239b396e57919a56a965282c30711b6b4e8 (patch) | |
tree | ea7f15c96f635e66d0d4dba735d0a05091afb17c /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | a0a3c793d212ffc70fdba4c94b024114d11532af (diff) | |
download | llvm-7b1e4239b396e57919a56a965282c30711b6b4e8.zip llvm-7b1e4239b396e57919a56a965282c30711b6b4e8.tar.gz llvm-7b1e4239b396e57919a56a965282c30711b6b4e8.tar.bz2 |
[DAG] Fold (vt trunc (extload (vt x))) -> (vt load x) (#75229)
We were only folding cases which remained extloads, but DAG.getExtLoad can also handle the cases which don't need to extend at all (we just can't do truncloads).
reduceLoadWidth can handle this for scalar loads, but not for vectors.
Noticed while triaging D152928
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions