[PATCH] D89392: [GlobalISel] Fold unary opcodes in CSEMIRBuilder
Aditya Nandakumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 14 10:49:41 PDT 2020
aditya_nandakumar added a comment.
I attempted this in the past but abandoned it due to infinite loops in legalization like mentioned earlier. Constant folding during legalization seems okay as long as it operates on legal types (ie fold an operation of constants (which are already legal) to the same type.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89392/new/
https://reviews.llvm.org/D89392
More information about the llvm-commits
mailing list