1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Must run cfgsimplify to eliminate dead blocks

llvm-svn: 2706
This commit is contained in:
Chris Lattner 2002-05-22 15:49:14 +00:00
parent a29f0fe4e4
commit 7b30f09451

View File

@ -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 -constprop -dce | dis | grep BB3
; RUN: if as < %s | opt -sccp -constprop -dce -cfgsimplify | dis | grep BB3
; RUN: then exit 1
; RUN: else exit 0
; RUN: fi