[llvm] 5458658 - [NFC] Fix type-units-maybe-unused-types.ll from D115325 (78d15a112cbd)

via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 17 03:44:21 PST 2021


Author: OCHyams
Date: 2021-12-17T11:43:14Z
New Revision: 54586582d3e17c0bba76258d2930486a6dfaaf2a

URL: https://github.com/llvm/llvm-project/commit/54586582d3e17c0bba76258d2930486a6dfaaf2a
DIFF: https://github.com/llvm/llvm-project/commit/54586582d3e17c0bba76258d2930486a6dfaaf2a.diff

LOG: [NFC] Fix type-units-maybe-unused-types.ll from D115325 (78d15a112cbd)

78d15a112cbd adds llvm/test/DebugInfo/Generic/type-units-maybe-unused-types.ll

Move the test into llvm/test/DebugInfo/X86 and add -mtriple=x86_64-linux-gnu
because not all platforms support type units.

Example of failing bot: type-units-maybe-unused-types.ll

Original review: https://reviews.llvm.org/D115325

Added: 
    llvm/test/DebugInfo/X86/type-units-maybe-unused-types.ll

Modified: 
    

Removed: 
    llvm/test/DebugInfo/Generic/type-units-maybe-unused-types.ll


################################################################################
diff  --git a/llvm/test/DebugInfo/Generic/type-units-maybe-unused-types.ll b/llvm/test/DebugInfo/X86/type-units-maybe-unused-types.ll
similarity index 98%
rename from llvm/test/DebugInfo/Generic/type-units-maybe-unused-types.ll
rename to llvm/test/DebugInfo/X86/type-units-maybe-unused-types.ll
index d3269e27c098d..78baf79871570 100644
--- a/llvm/test/DebugInfo/Generic/type-units-maybe-unused-types.ll
+++ b/llvm/test/DebugInfo/X86/type-units-maybe-unused-types.ll
@@ -1,4 +1,4 @@
-; RUN: %llc_dwarf %s -generate-type-units -o - -filetype=obj \
+; RUN: llc %s -mtriple=x86_64-linux-gnu -generate-type-units -o - -filetype=obj \
 ; RUN: | llvm-dwarfdump -o - - \
 ; RUN: | FileCheck %s
 


        


More information about the llvm-commits mailing list