mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
New testcase: do not DCE volatile loads!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8421 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
30e2d91b47
commit
ffd340c6b6
@ -0,0 +1,5 @@
|
||||
; RUN: as < %s | opt -instcombine | dis | grep load
|
||||
void %test(int* %P) {
|
||||
%X = volatile load int* %P ; Dead but not deletable!
|
||||
ret void
|
||||
}
|
Loading…
Reference in New Issue
Block a user