[llvm] ad3ec08 - [AMDGPU] One more use of the new export target names. NFC.
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 13 01:44:26 PST 2020
Author: Jay Foad
Date: 2020-11-13T09:44:09Z
New Revision: ad3ec089550d3b104bd9115a87e8981d63028e4a
URL: https://github.com/llvm/llvm-project/commit/ad3ec089550d3b104bd9115a87e8981d63028e4a
DIFF: https://github.com/llvm/llvm-project/commit/ad3ec089550d3b104bd9115a87e8981d63028e4a.diff
LOG: [AMDGPU] One more use of the new export target names. NFC.
Added:
Modified:
llvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp b/llvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp
index 3c375e057525..c0f96e25fc23 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp
@@ -20,6 +20,7 @@
//===----------------------------------------------------------------------===//
#include "AMDGPU.h"
+#include "SIDefines.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallVector.h"
@@ -153,7 +154,7 @@ static BasicBlock *unifyReturnBlockSet(Function &F,
Value *Undef = UndefValue::get(B.getFloatTy());
B.CreateIntrinsic(Intrinsic::amdgcn_exp, { B.getFloatTy() },
{
- B.getInt32(9), // target, SQ_EXP_NULL
+ B.getInt32(AMDGPU::Exp::ET_NULL),
B.getInt32(0), // enabled channels
Undef, Undef, Undef, Undef, // values
B.getTrue(), // done
More information about the llvm-commits
mailing list