[clang] 203b48c - [PowerPC] Removed a test case meant for a later patch

Albion Fung via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 5 20:31:59 PDT 2021


Author: Albion Fung
Date: 2021-07-05T22:31:17-05:00
New Revision: 203b48c71a0db835bd0d6869311578dbd7cc8b71

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

LOG: [PowerPC] Removed a test case meant for a later patch

A test case meant for a later patch was accidentally
included.

Original Patch: https://reviews.llvm.org/D105236

Differential revision: https://reviews.llvm.org/D105454

Added: 
    

Modified: 
    

Removed: 
    clang/test/CodeGen/builtins-ppc-xlcompat-error.c


################################################################################
diff  --git a/clang/test/CodeGen/builtins-ppc-xlcompat-error.c b/clang/test/CodeGen/builtins-ppc-xlcompat-error.c
deleted file mode 100644
index 01ac35ca64fd..000000000000
--- a/clang/test/CodeGen/builtins-ppc-xlcompat-error.c
+++ /dev/null
@@ -1,17 +0,0 @@
-// REQUIRES: powerpc-registered-target
-// RUN: %clang_cc1 -triple powerpc64-unknown-unknown -fsyntax-only \
-// RUN:   -Wall -Werror -verify %s
-// RUN: %clang_cc1 -triple powerpc64le-unknown-unknown -fsyntax-only \
-// RUN:   -Wall -Werror -verify %s
-// RUN: %clang_cc1 -triple powerpc64-unknown-aix -fsyntax-only \
-// RUN:   -Wall -Werror -verify %s
-// RUN: %clang_cc1 -triple powerpc-unknown-aix -fsyntax-only \
-// RUN:   -Wall -Werror -verify %s
-
-long long lla, llb;
-int ia, ib;
-
-void test_trap(void) {
-  __tdw(lla, llb, 50); //expected-error {{argument value 50 is outside the valid range [0, 31]}}
-  __tw(ia, ib, 50); //expected-error {{argument value 50 is outside the valid range [0, 31]}}
-}


        


More information about the cfe-commits mailing list