Also, refactor CallBrInstruction IRTest. Run via:
$ ninja IRTests
$ ./unittests/IR/IRTests --gtest_filter=InstructionsTest.CallBrInstruction
Differential D74947
[unittests] demonstrate User::replaceUsesOfWith() breaking CallBrInst nickdesaulniers on Feb 20 2020, 9:16 PM. Authored by
Details
Also, refactor CallBrInstruction IRTest. Run via: $ ninja IRTests
Diff Detail
Unit Tests Event TimelineComment Actions Can't land this test as is, because it would be red, due to User::replaceUsesOfWith() not updating the asm's argparam. Comment Actions This is no longer an issue after https://github.com/llvm/llvm-project/commit/2a721374aef3 since we now use !i placeholders to denote that these inputs are implicit; they're no longer listed twice in the operand list. |