[clang] [llvm] [Driver,CodeGen] Report error when enabling 64-bit-only features on non-64-bit arch (PR #101151)
Freddy Ye via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 30 17:09:32 PDT 2024
================
@@ -309,8 +309,8 @@
// HRESET: "-target-feature" "+hreset"
// NO-HRESET: "-target-feature" "-hreset"
-// RUN: %clang --target=i386 -march=i386 -muintr %s -### 2>&1 | FileCheck -check-prefix=UINTR %s
-// RUN: %clang --target=i386 -march=i386 -mno-uintr %s -### 2>&1 | FileCheck -check-prefix=NO-UINTR %s
+// RUN: %clang --target=x86_64 -march=i386 -muintr %s -### 2>&1 | FileCheck -check-prefix=UINTR %s
----------------
FreddyLeaf wrote:
why no error with `-march=i386` here?
https://github.com/llvm/llvm-project/pull/101151
More information about the cfe-commits
mailing list