mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
While folding unconditional return move DbgRegionEndInst into the predecessor, instead of removing it. This fixes following tests from llvmgcc42 testsuite.
gcc.c-torture/execute/20000605-3.c gcc.c-torture/execute/20020619-1.c gcc.c-torture/execute/20030920-1.c gcc.c-torture/execute/loop-ivopts-1.c git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65353 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | grep region | count 1
|
||||
; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | grep func.start | count 1
|
||||
; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | grep region | count 2
|
||||
; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | grep func.start | count 2
|
||||
; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep "br label"
|
||||
|
||||
%llvm.dbg.anchor.type = type { i32, i32 }
|
||||
%llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32 }
|
||||
%llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8*, i1, i1, i8* }
|
||||
|
Reference in New Issue
Block a user