mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
This testcase was very broken! The block could not be merged because then
there would be a broken PHI node git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2692 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
58e06e7393
commit
2f3ee642a8
@ -1,9 +1,6 @@
|
||||
; Basic block #2 should be merged into BB #3!
|
||||
; Basic block #2 should not be merged into BB #3!
|
||||
;
|
||||
; RUN: if as < %s | opt -dce | dis | grep 'br label'
|
||||
; RUN: then exit 1
|
||||
; RUN: else exit 0
|
||||
; RUN: fi
|
||||
; RUN: as < %s | opt -simplifycfg | dis | grep 'br label'
|
||||
;
|
||||
void "cprop_test12"(int* %data) {
|
||||
bb0:
|
||||
|
Loading…
Reference in New Issue
Block a user