diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-12-23 17:31:23 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-12-23 17:31:23 +0000 |
commit | 6f3d81a92919954d156c863d3aeb4ff09f701480 (patch) | |
tree | a0bcf58e9f4f3578a1b39cec0832bef2f55d677e /test | |
parent | a1acf55738a9d6c0376c7d36b27897817685e157 (diff) | |
download | external_llvm-6f3d81a92919954d156c863d3aeb4ff09f701480.zip external_llvm-6f3d81a92919954d156c863d3aeb4ff09f701480.tar.gz external_llvm-6f3d81a92919954d156c863d3aeb4ff09f701480.tar.bz2 |
CostModel: Change the default target-independent implementation for finding
the cost of arithmetic functions. We now assume that the cost of arithmetic
operations that are marked as Legal or Promote is low, but ops that are
marked as custom are higher.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171002 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Transforms/LoopVectorize/X86/gcc-examples.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Transforms/LoopVectorize/X86/gcc-examples.ll b/test/Transforms/LoopVectorize/X86/gcc-examples.ll index 574c529..156e745 100644 --- a/test/Transforms/LoopVectorize/X86/gcc-examples.ll +++ b/test/Transforms/LoopVectorize/X86/gcc-examples.ll @@ -9,9 +9,9 @@ target triple = "x86_64-apple-macosx10.8.0" ; Select VF = 8; ;CHECK: @example1 -;CHECK: load <8 x i32> -;CHECK: add nsw <8 x i32> -;CHECK: store <8 x i32> +;CHECK: load <4 x i32> +;CHECK: add nsw <4 x i32> +;CHECK: store <4 x i32> ;CHECK: ret void define void @example1() nounwind uwtable ssp { br label %1 |