Update tests to not use Br instruction#139
Conversation
Upstream LLVM split Br into CondBr/UncondBr llvm/llvm-project#184027
| OpMap<StringRef> map; | ||
|
|
||
| OpDescription retDesc = OpDescription::fromCoreOp(Instruction::Ret); | ||
| OpDescription brDesc = OpDescription::fromCoreOp(Instruction::Br); |
There was a problem hiding this comment.
I think it is safe to change this test, the main purpose of this test is not to test Br instruction. Ret and Br are (were) two first Core LLVM instructions.
|
Is this safe to submit without guards for llvm main revision (I think yes?) |
I think it is safe. This test was just taking two first instructions from LLVM Core list of instructions. It is not testing |
We could use llvm main revision and test |
|
I don't see merge button. Someone else needs to merge this PR. |
Upstream LLVM split Br into CondBr/UncondBr
llvm/llvm-project#184027