[PATCH] D51362: [GlobalISel][IRTranslator] Canonicalize G_ICMP to have constant operands last
Quentin Colombet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 28 17:36:44 PDT 2018
qcolombet added a comment.
Hi Amara,
That patch worries me, because I feel that we are going to pull all the LLVM IR code that does canonicalization.
The way I see it, is the input IR should already be in a canonical form and thus we don't have to do that.
If that's not the case, I would argue that bad output code is fine (garbage in, garbage out).
What do you think?
Cheers,
-Quentin
Repository:
rL LLVM
https://reviews.llvm.org/D51362
More information about the llvm-commits
mailing list