[PATCH] D130790: Fix failing tests for "[Clang][Attribute] Introduce maybe_undef attribute for function arguments which accepts undef values"
krishna chaitanya sankisa via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 29 11:26:14 PDT 2022
skc7 created this revision.
skc7 added reviewers: aaron.ballman, ronlieb, arsenm.
Herald added a subscriber: pengfei.
Herald added a project: All.
skc7 requested review of this revision.
Herald added subscribers: cfe-commits, wdng.
Herald added a project: clang.
Add target triple x86_64-gnu-linux for tests failing due to D130224 <https://reviews.llvm.org/D130224>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D130790
Files:
clang/test/CodeGen/attr-maybeundef-template.cpp
clang/test/CodeGen/attr-maybeundef.c
Index: clang/test/CodeGen/attr-maybeundef.c
===================================================================
--- clang/test/CodeGen/attr-maybeundef.c
+++ clang/test/CodeGen/attr-maybeundef.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -no-opaque-pointers -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-gnu-linux -emit-llvm %s -o - | FileCheck %s
#define __maybe_undef __attribute__((maybe_undef))
Index: clang/test/CodeGen/attr-maybeundef-template.cpp
===================================================================
--- clang/test/CodeGen/attr-maybeundef-template.cpp
+++ clang/test/CodeGen/attr-maybeundef-template.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -no-opaque-pointers -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-gnu-linux -emit-llvm %s -o - | FileCheck %s
// CHECK-LABEL: define{{.*}} void @{{.*}}test4{{.*}}(float
// CHECK-NEXT: entry:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130790.448686.patch
Type: text/x-patch
Size: 941 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220729/bf87bea1/attachment.bin>
More information about the cfe-commits
mailing list