Call the potentially costly isAnnotatedParallel() only once.

Made the uniform write test's checks a bit stricter.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180119 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Pekka Jaaskelainen
2013-04-23 16:44:43 +00:00
parent 13aba14eb5
commit 2e59a125fc
2 changed files with 7 additions and 4 deletions

View File

@ -4,7 +4,8 @@ target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f3
target triple = "x86_64-unknown-linux-gnu"
;CHECK: @foo
;CHECK-NOT: <4 x
;CHECK-NOT: <4 x i32>
;CHECK: ret void
; Function Attrs: nounwind uwtable
define void @foo(i32* nocapture %a, i32* nocapture %b, i32 %k, i32 %m) #0 {