[llvm] r345266 - [X86] Fix llc invocation on MIR test case

Francis Visoiu Mistrih via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 25 07:11:07 PDT 2018


Author: thegameg
Date: Thu Oct 25 07:11:07 2018
New Revision: 345266

URL: http://llvm.org/viewvc/llvm-project?rev=345266&view=rev
Log:
[X86] Fix llc invocation on MIR test case

The current state of the llc invocation is:

* Running all the passes from dwarfehprepare to stack coloring
(included)
* It runs it from the LLVM IR included in the file
* It *ADDS* the generated MI from ISel to the MI in the MIR file
* The machine verifier doesn't like it.

Differential Revision: https://reviews.llvm.org/D53698

Modified:
    llvm/trunk/test/CodeGen/X86/PR37310.mir

Modified: llvm/trunk/test/CodeGen/X86/PR37310.mir
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/PR37310.mir?rev=345266&r1=345265&r2=345266&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/PR37310.mir (original)
+++ llvm/trunk/test/CodeGen/X86/PR37310.mir Thu Oct 25 07:11:07 2018
@@ -1,4 +1,4 @@
-# RUN: llc -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -start-before dwarfehprepare -no-stack-coloring=false -stop-after stack-coloring -o - %s
+# RUN: llc -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -no-stack-coloring=false -run-pass stack-coloring -o - %s
 
 # Test to insure that the liveness analysis in the StackColoring
 # pass gracefully handles statically unreachable blocks. See PR 37310.




More information about the llvm-commits mailing list