[clang] a11d27f - [clang] Try to fix test after ae98182cf7341181e

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 17 11:30:19 PST 2021


Author: Nico Weber
Date: 2021-11-17T14:30:08-05:00
New Revision: a11d27f4ff3bd4e3d2d987cd2bb0dcd7d7c230e3

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

LOG: [clang] Try to fix test after ae98182cf7341181e

The test assumes an integrated assembler, so use a triple where
that's the default.

Added: 
    

Modified: 
    clang/test/CodeGen/inline-asm-intel.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/inline-asm-intel.c b/clang/test/CodeGen/inline-asm-intel.c
index fb737a6e85e2..bf615e220782 100644
--- a/clang/test/CodeGen/inline-asm-intel.c
+++ b/clang/test/CodeGen/inline-asm-intel.c
@@ -1,12 +1,12 @@
 // REQUIRES: x86-registered-target
 
 /// Accept intel inline asm but write it out as att:
-// RUN: %clang_cc1 -triple i386-unknown-unknown -mllvm -x86-asm-syntax=att -inline-asm=intel -Werror -target-feature +hreset -target-feature +pconfig -target-feature +sgx -ffreestanding -O0 -S %s -o - | FileCheck --check-prefix=ATT %s
-// RUN: %clang_cc1 -triple x86_64-unknown-unknown -mllvm -x86-asm-syntax=att -inline-asm=intel -Werror -target-feature +hreset -target-feature +pconfig -target-feature +sgx -ffreestanding -O0 -S %s -o - | FileCheck --check-prefix=ATT %s
+// RUN: %clang_cc1 -triple i386-unknown-linux -mllvm -x86-asm-syntax=att -inline-asm=intel -Werror -target-feature +hreset -target-feature +pconfig -target-feature +sgx -ffreestanding -O0 -S %s -o - | FileCheck --check-prefix=ATT %s
+// RUN: %clang_cc1 -triple x86_64-unknown-linux -mllvm -x86-asm-syntax=att -inline-asm=intel -Werror -target-feature +hreset -target-feature +pconfig -target-feature +sgx -ffreestanding -O0 -S %s -o - | FileCheck --check-prefix=ATT %s
 
 /// Accept intel inline asm and write it out as intel:
-// RUN: %clang_cc1 -triple i386-unknown-unknown -mllvm -x86-asm-syntax=intel -inline-asm=intel -Werror -target-feature +hreset -target-feature +pconfig -target-feature +sgx -ffreestanding -O0 -S %s -o - | FileCheck  --check-prefix=INTEL %s
-// RUN: %clang_cc1 -triple x86_64-unknown-unknown -mllvm -x86-asm-syntax=intel -inline-asm=intel -Werror -target-feature +hreset -target-feature +pconfig -target-feature +sgx -ffreestanding -O0 -S %s -o - | FileCheck  --check-prefix=INTEL %s
+// RUN: %clang_cc1 -triple i386-unknown-linux -mllvm -x86-asm-syntax=intel -inline-asm=intel -Werror -target-feature +hreset -target-feature +pconfig -target-feature +sgx -ffreestanding -O0 -S %s -o - | FileCheck  --check-prefix=INTEL %s
+// RUN: %clang_cc1 -triple x86_64-unknown-linux -mllvm -x86-asm-syntax=intel -inline-asm=intel -Werror -target-feature +hreset -target-feature +pconfig -target-feature +sgx -ffreestanding -O0 -S %s -o - | FileCheck  --check-prefix=INTEL %s
 
 /// Check MS compat mode (_MSC_VER defined). The driver always picks intel
 /// output in that mode, so test only that.


        


More information about the cfe-commits mailing list