[llvm] [SelectOpt] Add handling for Select-like operations. (PR #77284)

Sotiris Apostolakis via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 17 15:13:58 PST 2024


================
@@ -378,6 +378,15 @@ class TargetTransformInfoImplBase {
 
   bool enableSelectOptimize() const { return true; }
 
+  bool shouldTreatInstructionLikeSelect(Instruction *I) {
----------------
sapostolakis wrote:

thanks. adding EnableOrLikeSelectOpt for AArch64 is good enough for me.

https://github.com/llvm/llvm-project/pull/77284


More information about the llvm-commits mailing list