Otherwise this is can be sensitive in the face of changes in register names.
I also gardened the test case a little to make it look a little nicer.
Differential D120276
[move-function] Make test more generally by removing unneeded line. gottesmm on Feb 21 2022, 12:10 PM. Authored by
Details Otherwise this is can be sensitive in the face of changes in register names. I also gardened the test case a little to make it look a little nicer.
Diff Detail
Unit Tests Event Timeline
Comment Actions Looked at the failures. The windows one got into LLVM and this test passed. The test that failed was: LLVM :: Transforms/ArgumentPromotion/crash.ll This commit just tweaks this specific test, so it shouldn't have caused that. The Debian one failed also in other llvm tests. This test ran successfully. Comment Actions LGTM, thanks! I guess we could use a pattern instead of the hardcoded %.debug name, but IIUC the important part is to make sure the test contains the relevant dbg. calls, so this makes it more robust in any case! |
This is the substance of the change. Using %.debug here and CHECK-NEXT is too sensitive to small changes in the rest of the codebase. It isn't needed here.