mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 04:39:44 +00:00
Change the test to check to see that CSE happens not dead call elim
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19017 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fb752ba02a
commit
dbd4f1000e
@ -1,6 +1,6 @@
|
||||
; Test that pure functions are cse'd away
|
||||
|
||||
; RUN: llvm-as < %s | opt -globalsmodref-aa -load-vn -gcse -instcombine -adce| llvm-dis | not grep call
|
||||
; RUN: llvm-as < %s | opt -globalsmodref-aa -load-vn -gcse -instcombine | llvm-dis | not grep sub
|
||||
|
||||
int %pure(int %X) {
|
||||
%Y = add int %X, 1
|
||||
|
Loading…
Reference in New Issue
Block a user