mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
81929b6bb0
Adds function attributes to index: ReadNone, ReadOnly, NoRecurse, NoAlias. This attributes will be used for future ThinLTO optimizations that will propagate function attributes across modules. llvm-svn: 310061
13 lines
254 B
LLVM
13 lines
254 B
LLVM
; Check summary versioning
|
|
; RUN: opt -module-summary %s -o - | llvm-bcanalyzer -dump | FileCheck %s
|
|
|
|
; CHECK: <GLOBALVAL_SUMMARY_BLOCK
|
|
; CHECK: <VERSION op0=4/>
|
|
|
|
|
|
|
|
; Need a function for the summary to be populated.
|
|
define void @foo() {
|
|
ret void
|
|
}
|