[llvm] 158ac4a - [LTO] Remove default_triple requirement from tests that specify the triple
Jake Egan via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 8 06:17:38 PST 2021
Author: Jake Egan
Date: 2021-12-08T09:17:32-05:00
New Revision: 158ac4a627659258a8d5866b0d3daae8fff38384
URL: https://github.com/llvm/llvm-project/commit/158ac4a627659258a8d5866b0d3daae8fff38384
DIFF: https://github.com/llvm/llvm-project/commit/158ac4a627659258a8d5866b0d3daae8fff38384.diff
LOG: [LTO] Remove default_triple requirement from tests that specify the triple
The `default_triple` requirement is redundant if the test specifies the triple, so this patch removes it.
Reviewed By: hubert.reinterpretcast
Differential Revision: https://reviews.llvm.org/D115048
Added:
Modified:
llvm/test/LTO/X86/bcsection.ll
llvm/test/LTO/X86/current-section.ll
Removed:
################################################################################
diff --git a/llvm/test/LTO/X86/bcsection.ll b/llvm/test/LTO/X86/bcsection.ll
index 32216ee6f4de..1c7f30954803 100644
--- a/llvm/test/LTO/X86/bcsection.ll
+++ b/llvm/test/LTO/X86/bcsection.ll
@@ -16,8 +16,6 @@
; RUN: llvm-lto -exported-symbol=main -exported-symbol=_main -o %t/bcsection.macho.o %t/bcsection.macho.bco
; RUN: llvm-nm %t/bcsection.macho.o | FileCheck %s
-; REQUIRES: default_triple
-
target triple = "x86_64-unknown-linux-gnu"
; CHECK: main
diff --git a/llvm/test/LTO/X86/current-section.ll b/llvm/test/LTO/X86/current-section.ll
index a54f09d8512a..be099d73ee65 100644
--- a/llvm/test/LTO/X86/current-section.ll
+++ b/llvm/test/LTO/X86/current-section.ll
@@ -1,6 +1,5 @@
; RUN: llvm-as < %s >%t1
; RUN: llvm-lto -o %t2 %t1
-; REQUIRES: default_triple
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
More information about the llvm-commits
mailing list