mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Move this test from ADCE to loop deletion, where it is more appropriate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51181 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ce12a2b71a
commit
3dc73d398c
@ -1,7 +1,7 @@
|
|||||||
; This is the test case taken from Appel's book that illustrates a hard case
|
; This is the test case taken from Appel's book that illustrates a hard case
|
||||||
; that SCCP gets right, and when followed by ADCE, is completely eliminated
|
; that SCCP gets right, and when followed by ADCE, is completely eliminated
|
||||||
;
|
;
|
||||||
; RUN: llvm-as < %s | opt -sccp -adce -simplifycfg | llvm-dis | not grep br
|
; RUN: llvm-as < %s | opt -sccp -simplifycfg -indvars -loop-deletion -dce -simplifycfg | llvm-dis | not grep br
|
||||||
|
|
||||||
define i32 @"test function"(i32 %i0, i32 %j0) {
|
define i32 @"test function"(i32 %i0, i32 %j0) {
|
||||||
BB1:
|
BB1:
|
Loading…
Reference in New Issue
Block a user