Skip to content

Commit

Permalink
[LTO] Remove default_triple requirement from tests that specify the t…
Browse files Browse the repository at this point in the history
…riple

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
  • Loading branch information
jakeegan committed Dec 8, 2021
1 parent 5bb0a90 commit 158ac4a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions llvm/test/LTO/X86/bcsection.ll
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion 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"
Expand Down

0 comments on commit 158ac4a

Please sign in to comment.