Mercurial > hg > CbC > CbC_llvm
view llvm/test/Transforms/GlobalOpt/basictest.ll @ 201:a96fbbdf2d0f
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 04 Jun 2021 21:07:06 +0900 |
parents | 1d019706d866 |
children | c4bab56944e8 |
line wrap: on
line source
; RUN: opt < %s -globalopt -S | FileCheck %s ; RUN: opt < %s -passes=globalopt -S | FileCheck %s ; CHECK-NOT: global @X = internal global i32 4 ; <i32*> [#uses=1] define i32 @foo() { %V = load i32, i32* @X ; <i32> [#uses=1] ret i32 %V }