mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-05 02:49:18 +00:00
New testcase: do not DCE volatile loads!
llvm-svn: 8421
This commit is contained in:
parent
cd9b0df28e
commit
0df3e2e3c7
@ -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…
x
Reference in New Issue
Block a user