Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

Commit

Permalink
Add nounwind.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50931 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Evan Cheng committed May 10, 2008
1 parent 448f3b9 commit 70076b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/CodeGen/X86/vec_shuffle-2.ll
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
; RUN: grep pshuflw %t | count 1
; RUN: grep movhps %t | count 1

define void @test1(<2 x i64>* %res, <2 x i64>* %A) {
define void @test1(<2 x i64>* %res, <2 x i64>* %A) nounwind {
%tmp = load <2 x i64>* %A ; <<2 x i64>> [#uses=1]
%tmp.upgrd.1 = bitcast <2 x i64> %tmp to <8 x i16> ; <<8 x i16>> [#uses=8]
%tmp0 = extractelement <8 x i16> %tmp.upgrd.1, i32 0 ; <i16> [#uses=1]
Expand All @@ -27,7 +27,7 @@ define void @test1(<2 x i64>* %res, <2 x i64>* %A) {
ret void
}

define void @test2(<4 x float>* %r, <2 x i32>* %A) {
define void @test2(<4 x float>* %r, <2 x i32>* %A) nounwind {
%tmp = load <4 x float>* %r ; <<4 x float>> [#uses=2]
%tmp.upgrd.3 = bitcast <2 x i32>* %A to double* ; <double*> [#uses=1]
%tmp.upgrd.4 = load double* %tmp.upgrd.3 ; <double> [#uses=1]
Expand Down

0 comments on commit 70076b7

Please sign in to comment.