[llvm] [AMDGPU] Implement hasAndNot for scalar bitwise AND-NOT operations. (PR #112647)
Harrison Hao via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 17 22:42:54 PDT 2024
================
@@ -6822,6 +6822,81 @@ static unsigned getExtOpcodeForPromotedOp(SDValue Op) {
}
}
+SDValue SITargetLowering::combineAnd(SDValue Op,
----------------
harrisonGPU wrote:
Okay, but I think hasAndNot can use And operation when meet this scenario: `(and LHS, (or Y, ~Z))` and X86 used this way, so I try to implement it. :)
https://github.com/llvm/llvm-project/pull/112647
More information about the llvm-commits
mailing list