[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
Fri Aug 31 10:19:17 PDT 2018
qcolombet added a comment.
> It can't do that all the time, with these G_ICMPs for example it also has to swap the predicate (not that we even have imported patterns that could possibly match for AArch64).
Why not?
I understand G_ICMPs are special, but we could come up with whatever complicated logic in TableGen.
Repository:
rL LLVM
https://reviews.llvm.org/D51362
More information about the llvm-commits
mailing list