[llvm] [GlobalISel] An optimizing MIR builder (PR #132282)
Amara Emerson via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 2 00:24:28 PDT 2025
aemerson wrote:
> The combiner holds higher standards when it comes to legality. You must check for legality before building. The constant folding uses an optimistic approach. It will just work. For asymmetric opcodes like G_SITOFP, G_CTLZ, and G_ICMP I am not convinced that this is the right approach.
Did you decide this yourself? This is your first contribution to LLVM and you're going to use this tone?
https://github.com/llvm/llvm-project/pull/132282
More information about the llvm-commits
mailing list