Skip to content

Commit 54f1318

Browse files
authored
Revert "[AMDGPU] Add verification for amdgcn.init.exec.from.input (#128172)"
This reverts commit cafad2b.
1 parent 40b0619 commit 54f1318

File tree

2 files changed

+0
-33
lines changed

2 files changed

+0
-33
lines changed

llvm/lib/IR/Verifier.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6371,14 +6371,6 @@ void Verifier::visitIntrinsicCall(Intrinsic::ID ID, CallBase &Call) {
63716371
"llvm.amdgcn.cs.chain must be followed by unreachable", &Call);
63726372
break;
63736373
}
6374-
case Intrinsic::amdgcn_init_exec_from_input: {
6375-
const Argument *Arg = dyn_cast<Argument>(Call.getOperand(0));
6376-
Check(Arg && Arg->hasInRegAttr(),
6377-
"only inreg arguments to the parent function are valid as inputs to "
6378-
"this intrinsic",
6379-
&Call);
6380-
break;
6381-
}
63826374
case Intrinsic::amdgcn_set_inactive_chain_arg: {
63836375
auto CallerCC = Call.getCaller()->getCallingConv();
63846376
switch (CallerCC) {

llvm/test/Verifier/AMDGPU/intrinsic-amdgpu-init-exec-from-input.ll

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)