summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopVectorize
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-12-23 17:31:23 +0000
committerNadav Rotem <nrotem@apple.com>2012-12-23 17:31:23 +0000
commitcf9999d9d50e5b8a228903a8a3d2c26b9773e8bd (patch)
tree18b4b392c7f2902528232d6bfd56ad1eba6752cc /llvm/test/Transforms/LoopVectorize
parent28691400dd5305eb70f6c74cdb2f9ff5d86c1172 (diff)
downloadbcm5719-llvm-cf9999d9d50e5b8a228903a8a3d2c26b9773e8bd.tar.gz
bcm5719-llvm-cf9999d9d50e5b8a228903a8a3d2c26b9773e8bd.zip
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. llvm-svn: 171002
Diffstat (limited to 'llvm/test/Transforms/LoopVectorize')
-rw-r--r--llvm/test/Transforms/LoopVectorize/X86/gcc-examples.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/Transforms/LoopVectorize/X86/gcc-examples.ll b/llvm/test/Transforms/LoopVectorize/X86/gcc-examples.ll
index 574c529834a..156e7454a4c 100644
--- a/llvm/test/Transforms/LoopVectorize/X86/gcc-examples.ll
+++ b/llvm/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
OpenPOWER on IntegriCloud