[PATCH] D46265: StackColoring: better handling of statically unreachable code

Simon Dardis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 30 07:19:08 PDT 2018


sdardis added a comment.

@thanm You can take the reproducer in the bug report, produce LLVM-IR from it (-S -emit-llvm), then run it through llc with "-stop-before stack-slot-coloring" to get MIR output. The test file would then be invoked with the same options as before except you'd add '-start-before stack-slot-coloring'.

test/CodeGen/X86/branch_instruction_and_target_split_perf_nops.mir is an example of such a test.


Repository:
  rL LLVM

https://reviews.llvm.org/D46265





More information about the llvm-commits mailing list