llvm-project
75b0c89e - [InstCombine][VectorCombine][NFC] Unify uses of lossless inverse cast (#156597)

Commit
94 days ago
[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.
Author
Parents
Loading