summaryrefslogtreecommitdiffstats
path: root/test/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-05-15 21:31:36 +0000
committerChris Lattner <sabre@nondot.org>2005-05-15 21:31:36 +0000
commit73b22917038ca02a6fe83148dd9ce971271bfd36 (patch)
tree881ebe03575205f156aa49d13dd970cd9e418973 /test/Transforms
parentc3f6abdd8573d1b6ff1b5fe2b8ce8dad49b3b801 (diff)
downloadexternal_llvm-73b22917038ca02a6fe83148dd9ce971271bfd36.zip
external_llvm-73b22917038ca02a6fe83148dd9ce971271bfd36.tar.gz
external_llvm-73b22917038ca02a6fe83148dd9ce971271bfd36.tar.bz2
This does not belong
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22071 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r--test/Transforms/SimplifyLibCalls/FFS.ll4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/Transforms/SimplifyLibCalls/FFS.ll b/test/Transforms/SimplifyLibCalls/FFS.ll
index 4981d13..4031290 100644
--- a/test/Transforms/SimplifyLibCalls/FFS.ll
+++ b/test/Transforms/SimplifyLibCalls/FFS.ll
@@ -4,7 +4,6 @@
declare int %ffs(int)
declare int %ffsl(int)
declare int %ffsll(long)
-declare int %__builtin_ffs(int)
%non_const = external global int
@@ -14,12 +13,11 @@ int %main () {
%arg = load int* %non_const
%val0 = call int %ffs(int %arg)
%val1 = call int %ffs(int 1)
- %val2 = call int %__builtin_ffs(int 2048)
%val3 = call int %ffsl(int 65536)
%val4 = call int %ffsll(long 1024)
%val5 = call int %ffsll(long 17179869184)
%val6 = call int %ffsll(long 1152921504606846976)
- %rslt1 = add int %val1, %val2
+ %rslt1 = add int %val1, 0
%rslt2 = add int %val3, %val4
%rslt3 = add int %val5, %val6
%rslt4 = add int %rslt1, %rslt2