[llvm] [AMDGPU] Implement hasAndNot for scalar bitwise AND-NOT operations. (PR #112647)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 17 22:38:14 PDT 2024


================
@@ -6822,6 +6822,81 @@ static unsigned getExtOpcodeForPromotedOp(SDValue Op) {
   }
 }
 
+SDValue SITargetLowering::combineAnd(SDValue Op,
----------------
arsenm wrote:

You should not be implementing any new combine in this patch. The point of this is to enable the existing optimizations. If it's worth adding something else, it would be a separate PR 

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


More information about the llvm-commits mailing list