[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:50:58 PDT 2024


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

I don't know why x86 has that in the backend but it belongs in a generic combine 

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


More information about the llvm-commits mailing list