From: Jake Egan Date: Wed, 8 Dec 2021 14:16:58 +0000 (-0500) Subject: [LTO] Remove default_triple requirement from tests that specify the triple X-Git-Tag: upstream/15.0.7~23652 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=158ac4a627659258a8d5866b0d3daae8fff38384;p=platform%2Fupstream%2Fllvm.git [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 --- diff --git a/llvm/test/LTO/X86/bcsection.ll b/llvm/test/LTO/X86/bcsection.ll index 32216ee..1c7f309 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 a54f09d..be099d7 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"