[llvm] [AMDGPU] Allocate i1 argument to SGPRs (PR #72461)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon May 20 06:33:32 PDT 2024


================
@@ -15887,7 +15889,14 @@ static bool isCopyFromRegForI1Return(const SDNode *N) {
   SDNode *N2 = N1->getOperand(0).getNode();
   if (N2->getOpcode() != ISD::CopyFromReg)
     return false;
-  SDNode *N3 = N2->getOperand(0).getNode();
+
----------------
arsenm wrote:

ping here, if UniformityAnalysis was correct I don't think you need this 

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


More information about the llvm-commits mailing list