[llvm] [DAGCombiner][AMDGPU] Track signedness in ByteProviders (PR #65995)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 11 12:39:49 PDT 2023


================
@@ -10513,7 +10513,7 @@ SDValue SITargetLowering::performAndCombine(SDNode *N,
 // performed.
 static const std::optional<ByteProvider<SDValue>>
 calculateSrcByte(const SDValue Op, uint64_t DestByte, uint64_t SrcIndex = 0,
-                 unsigned Depth = 0) {
+                 bool IsSigned = 0, unsigned Depth = 0) {
----------------
arsenm wrote:

= false

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


More information about the llvm-commits mailing list