summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2020-01-02 16:20:26 -0500
committerMatt Arsenault <arsenm2@gmail.com>2020-01-02 17:16:10 -0500
commit0d9f919b73a62191492fa60792264b2f5966b7c6 (patch)
tree78c997acb3242f94b6956b68ea1d497e0fad4688 /llvm/lib/Target/AMDGPU
parenta58da1a2ff039dd3bb4c43db3919995cf4a74cc7 (diff)
downloadbcm5719-llvm-0d9f919b73a62191492fa60792264b2f5966b7c6.tar.gz
bcm5719-llvm-0d9f919b73a62191492fa60792264b2f5966b7c6.zip
DAG: Use TargetConstant for FENCE operands
Diffstat (limited to 'llvm/lib/Target/AMDGPU')
-rw-r--r--llvm/lib/Target/AMDGPU/SIInstructions.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIInstructions.td b/llvm/lib/Target/AMDGPU/SIInstructions.td
index 79bbbc1eab6..32c05ae10b6 100644
--- a/llvm/lib/Target/AMDGPU/SIInstructions.td
+++ b/llvm/lib/Target/AMDGPU/SIInstructions.td
@@ -86,7 +86,7 @@ defm V_INTERP_MOV_F32 : VINTRP_m <
//===----------------------------------------------------------------------===//
def ATOMIC_FENCE : SPseudoInstSI<
(outs), (ins i32imm:$ordering, i32imm:$scope),
- [(atomic_fence (i32 imm:$ordering), (i32 imm:$scope))],
+ [(atomic_fence (i32 timm:$ordering), (i32 timm:$scope))],
"ATOMIC_FENCE $ordering, $scope"> {
let hasSideEffects = 1;
let maybeAtomic = 1;
OpenPOWER on IntegriCloud