[PATCH] D106776: [GlobalISel] Add a constant folding combine.
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 28 06:47:50 PDT 2021
foad added a comment.
> These don't always get folded because when the instructions are created the constants are obscured by artifacts, or other reasons.
For the AMDGPU fshl/fshr tests, the reason is that the foldable instructions are created during legalization, and the AMDGPU legalizer doesn't use CSEMIRBuilder yet.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106776/new/
https://reviews.llvm.org/D106776
More information about the llvm-commits
mailing list