[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
Thu Aug 30 09:09:14 PDT 2018


qcolombet added a comment.

> how would it decide in which order to put those vregs in the generated instructions w/o explicitly checking for constants?

Fair point.
I was more thinking of target specific node, where you'll have to check anyway otherwise you cannot match the imm variant.


Repository:
  rL LLVM

https://reviews.llvm.org/D51362





More information about the llvm-commits mailing list