[PATCH] D61680: [X86] Avoid SFB - Fix inconsistent codegen with/without debug info
Paul Robinson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 8 09:07:13 PDT 2019
probinson added a comment.
The point is not that a certain set of moves comes out, but that the *same* set of moves comes out regardless of debug info.
So, the test wants to have two copies of the same function, one with debug instructions and one without; and both functions should produce the same sequence of moves.
To keep the test from being really tedious, I am pretty sure you can run FileCheck twice and have each run look at a different function, with clever use of -D on the FileCheck command line. This probably means you have to capture the llc output in a file, but that's okay.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61680/new/
https://reviews.llvm.org/D61680
More information about the llvm-commits
mailing list