[llvm] 4650b2f - Attempt to fix a debuginfo test that wasn't as generic as I thought

Jeremy Morse via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 6 04:52:20 PST 2019


Author: Jeremy Morse
Date: 2019-12-06T12:51:58Z
New Revision: 4650b2f36949407ef25686440e3d65ac47709deb

URL: https://github.com/llvm/llvm-project/commit/4650b2f36949407ef25686440e3d65ac47709deb
DIFF: https://github.com/llvm/llvm-project/commit/4650b2f36949407ef25686440e3d65ac47709deb.diff

LOG: Attempt to fix a debuginfo test that wasn't as generic as I thought

An ARM buildbot croaks when this test doesn't have a triple specified:

  http://lab.llvm.org:8011/builders/clang-cmake-armv7-quick/builds/12021/

Move the test to the X86 directory and put an x86_64 triple on the
llc command line.

Added: 
    llvm/test/DebugInfo/X86/codegenprep-addrsink.ll

Modified: 
    

Removed: 
    llvm/test/DebugInfo/Generic/codegenprep-addrsink.ll


################################################################################
diff  --git a/llvm/test/DebugInfo/Generic/codegenprep-addrsink.ll b/llvm/test/DebugInfo/X86/codegenprep-addrsink.ll
similarity index 98%
rename from llvm/test/DebugInfo/Generic/codegenprep-addrsink.ll
rename to llvm/test/DebugInfo/X86/codegenprep-addrsink.ll
index 5d245c917337..a3a80e1c9b76 100644
--- a/llvm/test/DebugInfo/Generic/codegenprep-addrsink.ll
+++ b/llvm/test/DebugInfo/X86/codegenprep-addrsink.ll
@@ -1,4 +1,4 @@
-; RUN: llc -start-before=codegenprepare -stop-after=codegenprepare %s -o - | FileCheck %s
+; RUN: llc -start-before=codegenprepare -stop-after=codegenprepare -mtriple=x86_64-unknown-unknown %s -o - | FileCheck %s
 ;
 ; CGP duplicates address calculation into each basic block that contains loads
 ; or stores, so that they can be folded into instruction memory operands for


        


More information about the llvm-commits mailing list