• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt -S -early-cse -earlycse-debug-hash < %s | FileCheck %s
2
3declare void @readnone_may_unwind() readnone
4
5define void @f(i32* %ptr) {
6; CHECK-LABEL: @f(
7; CHECK: store i32 100, i32* %ptr
8; CHECK: call void @readnone_may_unwind()
9; CHECK: store i32 200, i32* %ptr
10
11  store i32 100, i32* %ptr
12  call void @readnone_may_unwind()
13  store i32 200, i32* %ptr
14  ret void
15}
16