diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-12-11 18:58:10 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-12-11 18:58:10 +0000 |
commit | e266efb70bfdd0c546a83455ce54372360712545 (patch) | |
tree | ade8ca80438c78ffa6e0c9cda5088aaacd630b52 /llvm/test/Transforms/LoopVectorize/induction_plus.ll | |
parent | c2e3d5cb2980b06fd51b8f535561fe2ecd2c8a55 (diff) | |
download | bcm5719-llvm-e266efb70bfdd0c546a83455ce54372360712545.tar.gz bcm5719-llvm-e266efb70bfdd0c546a83455ce54372360712545.zip |
Loop Vectorize: optimize the vectorization of trunc(induction_var). The truncation is now done on scalars.
llvm-svn: 169904
Diffstat (limited to 'llvm/test/Transforms/LoopVectorize/induction_plus.ll')
-rw-r--r-- | llvm/test/Transforms/LoopVectorize/induction_plus.ll | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/test/Transforms/LoopVectorize/induction_plus.ll b/llvm/test/Transforms/LoopVectorize/induction_plus.ll index b31bceb50df..a25845f1c18 100644 --- a/llvm/test/Transforms/LoopVectorize/induction_plus.ll +++ b/llvm/test/Transforms/LoopVectorize/induction_plus.ll @@ -6,8 +6,7 @@ target triple = "x86_64-apple-macosx10.8.0" @array = common global [1024 x i32] zeroinitializer, align 16 ;CHECK: @array_at_plus_one -;CHECK: add <4 x i64> -;CHECK: trunc <4 x i64> +;CHECK: trunc i64 ;CHECK: add i64 %index, 12 ;CHECK: ret i32 define i32 @array_at_plus_one(i32 %n) nounwind uwtable ssp { |