Normally, the ISD::SELECT is lowered to maskeqz + masknez. This is
inefficient when operands are constants that can be computed easily.
To avoid that, override TargetLowering::convertSelectOfConstantsToMath.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo