diff options
-rw-r--r-- | test/Transforms/InstCombine/2003-09-09-VolatileLoadElim.ll | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/2003-09-09-VolatileLoadElim.ll b/test/Transforms/InstCombine/2003-09-09-VolatileLoadElim.ll new file mode 100644 index 0000000000..890d61e7ca --- /dev/null +++ b/test/Transforms/InstCombine/2003-09-09-VolatileLoadElim.ll @@ -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 +} |