aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarren Hunt <whunt@google.com>2013-11-02 00:34:45 +0000
committerWarren Hunt <whunt@google.com>2013-11-02 00:34:45 +0000
commit5d80bfa746b92400a6e4a0f3c23f5259e225ea3c (patch)
tree89ca5348afc49fddd11d67fae953d738117010b1
parent4349ec4e03cec38724f31ccb39050a6dc0932e01 (diff)
downloadllvm-5d80bfa746b92400a6e4a0f3c23f5259e225ea3c.zip
llvm-5d80bfa746b92400a6e4a0f3c23f5259e225ea3c.tar.gz
llvm-5d80bfa746b92400a6e4a0f3c23f5259e225ea3c.tar.bz2
Adding triple to lit test fixed in r193901
llvm-svn: 193902
-rw-r--r--clang/test/CodeGenCXX/builtins.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/CodeGenCXX/builtins.cpp b/clang/test/CodeGenCXX/builtins.cpp
index 7aca661..8d670fe 100644
--- a/clang/test/CodeGenCXX/builtins.cpp
+++ b/clang/test/CodeGenCXX/builtins.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple=x86_64-linux-gnu -emit-llvm -o - %s | FileCheck %s
// PR8839
extern "C" char memmove();
@@ -17,13 +17,13 @@ S *addressof(bool b, S &s, S &t) {
}
extern "C" int __builtin_abs(int); // #1
-long long __builtin_abs(long long); // #2
+long __builtin_abs(long); // #2
extern "C" int __builtin_abs(int); // #3
int x = __builtin_abs(-2);
// CHECK: entry:
// CHECK-NEXT: store i32 2, i32* @x, align 4
-long y = __builtin_abs(-2ll);
+long y = __builtin_abs(-2l);
// CHECK: entry:
-// CHECK-NEXT: %call = call i64 @_Z13__builtin_absx(i64 -2)
+// CHECK-NEXT: %call = call i64 @_Z13__builtin_absl(i64 -2)