mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +00:00
Add const prop pass to eliminate dead branches
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2456 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2adcd83b89
commit
46d51f7ba8
@ -1,7 +1,7 @@
|
||||
; This is the test case taken from appel's book that illustrates a hard case
|
||||
; that SCCP gets right. BB3 should be completely eliminated.
|
||||
;
|
||||
; RUN: if as < %s | opt -sccp -dce | dis | grep BB3
|
||||
; RUN: if as < %s | opt -sccp -constprop -dce | dis | grep BB3
|
||||
; RUN: then exit 1
|
||||
; RUN: else exit 0
|
||||
; RUN: fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user