Mercurial > hg > CbC > CbC_llvm
view llvm/test/Transforms/FunctionAttrs/2010-10-30-volatile.ll @ 201:a96fbbdf2d0f
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 04 Jun 2021 21:07:06 +0900 |
parents | 1d019706d866 |
children | 2e18cbf3894f |
line wrap: on
line source
; RUN: opt < %s -functionattrs -S | FileCheck %s ; RUN: opt < %s -passes=function-attrs -S | FileCheck %s ; PR8279 @g = constant i32 1 ; CHECK: Function Attrs ; CHECK-SAME: norecurse ; CHECK-NOT: readonly ; CHECK-NEXT: void @foo() define void @foo() { %tmp = load volatile i32, i32* @g ret void }