[PATCH] D140858: [InstCombine]: Don't simplify bits if it causes imm32 to become imm64
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 3 02:58:03 PST 2023
RKSimon added a comment.
+1 to investigate whether this can be handled in DAG before adding something so specific to InstCombine - if value tracking can confirm that the upper bits are already zero there's no reason why the various SimplifyDemanded* calls shouldn't determine if a sext-imm is a better option for a specific target
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140858/new/
https://reviews.llvm.org/D140858
More information about the llvm-commits
mailing list