mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-11 15:26:07 +00:00
Change the test to check to see that CSE happens not dead call elim
llvm-svn: 19017
This commit is contained in:
parent
40cf227b6a
commit
6eee1e31d7
@ -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…
x
Reference in New Issue
Block a user