mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
53ea459736
This should have been added in r337844, but apparently was I failed to 'git add' the file. llvm-svn: 347840
30 lines
737 B
LLVM
30 lines
737 B
LLVM
; RUN: opt %s -inline -S | FileCheck %s
|
|
|
|
define internal void @innerSmall() "min-legal-vector-width"="128" {
|
|
ret void
|
|
}
|
|
|
|
define internal void @innerLarge() "min-legal-vector-width"="512" {
|
|
ret void
|
|
}
|
|
|
|
define void @outerNoAttribute() {
|
|
call void @innerLarge()
|
|
ret void
|
|
}
|
|
|
|
define void @outerConflictingAttributeSmall() "min-legal-vector-width"="128" {
|
|
call void @innerLarge()
|
|
ret void
|
|
}
|
|
|
|
define void @outerConflictingAttributeLarge() "min-legal-vector-width"="512" {
|
|
call void @innerSmall()
|
|
ret void
|
|
}
|
|
|
|
; CHECK: define void @outerNoAttribute() #0
|
|
; CHECK: define void @outerConflictingAttributeSmall() #0
|
|
; CHECK: define void @outerConflictingAttributeLarge() #0
|
|
; CHECK: attributes #0 = { "min-legal-vector-width"="512" }
|