diff options
author | Hongyu Chen <xxs_chy@outlook.com> | 2025-09-08 21:30:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-08 13:30:06 +0000 |
commit | 75b0c89e626f21e9ba9c920c878cc9e81471f4cf (patch) | |
tree | b0c123f16b15f7963068f42a5bd722eed8f7d101 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp | |
parent | b9f571f834742e05d4edca67e4733bc1d40ec58c (diff) | |
download | llvm-75b0c89e626f21e9ba9c920c878cc9e81471f4cf.zip llvm-75b0c89e626f21e9ba9c920c878cc9e81471f4cf.tar.gz llvm-75b0c89e626f21e9ba9c920c878cc9e81471f4cf.tar.bz2 |
[InstCombine][VectorCombine][NFC] Unify uses of lossless inverse cast (#156597)
This patch addresses
https://github.com/llvm/llvm-project/pull/155216#discussion_r2297724663.
This patch adds a helper function to put the inverse cast on constants,
with cast flags preserved(optional).
Follow-up patches will add trunc/ext handling on VectorCombine and flags
preservation on InstCombine.
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions