diff options
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2020-02-03 09:07:36 -0500 |
|---|---|---|
| committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2020-02-03 07:02:05 -0800 |
| commit | 00b22df71d87613dd4e54fa0ece8784a43a47d85 (patch) | |
| tree | 787b8e48835679eb59f140bf5fb5a84b74b038b7 /llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp | |
| parent | 9dcfc7cd64abb301124cafaa95661b76a1fc5032 (diff) | |
AMDGPU: Fix extra type mangling on llvm.amdgcn.if.break
These have to be the same mask type.
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp')
| -rw-r--r-- | llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp b/llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp index 27320472cacb..3c41bf1fef5e 100644 --- a/llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp +++ b/llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp @@ -153,7 +153,7 @@ void SIAnnotateControlFlow::initialize(Module &M, const GCNSubtarget &ST) { Else = Intrinsic::getDeclaration(&M, Intrinsic::amdgcn_else, { IntMask, IntMask }); IfBreak = Intrinsic::getDeclaration(&M, Intrinsic::amdgcn_if_break, - { IntMask, IntMask }); + { IntMask }); Loop = Intrinsic::getDeclaration(&M, Intrinsic::amdgcn_loop, { IntMask }); EndCf = Intrinsic::getDeclaration(&M, Intrinsic::amdgcn_end_cf, { IntMask }); } |
