You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
15
external/llvm/test/Transforms/EarlyCSE/readnone-mayunwind.ll
vendored
Normal file
15
external/llvm/test/Transforms/EarlyCSE/readnone-mayunwind.ll
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
; RUN: opt -S -early-cse < %s | FileCheck %s
|
||||
|
||||
declare void @readnone_may_unwind() readnone
|
||||
|
||||
define void @f(i32* %ptr) {
|
||||
; CHECK-LABEL: @f(
|
||||
; CHECK: store i32 100, i32* %ptr
|
||||
; CHECK: call void @readnone_may_unwind()
|
||||
; CHECK: store i32 200, i32* %ptr
|
||||
|
||||
store i32 100, i32* %ptr
|
||||
call void @readnone_may_unwind()
|
||||
store i32 200, i32* %ptr
|
||||
ret void
|
||||
}
|
Reference in New Issue
Block a user