================ @@ -1806,7 +1806,7 @@ bool AMDGPUDAGToDAGISel::SelectGlobalSAddr(SDNode *N, // instructions to perform VALU adds with immediates or inline literals. unsigned NumLiterals = !TII->isInlineConstant(APInt(32, COffsetVal & 0xffffffff)) + - !TII->isInlineConstant(APInt(32, COffsetVal >> 32)); + !TII->isInlineConstant(APInt(32, uint64_t(COffsetVal) >> 32)); ---------------- arsenm wrote:
These should probably just use Lo_32/Hi_32 https://github.com/llvm/llvm-project/pull/80309 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits