mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
The -preheaders pass is now known as -loopsimplify
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9057 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bebd86d58e
commit
915403f065
@ -1,6 +1,6 @@
|
|||||||
; Exit blocks need to be updated for all nested loops...
|
; Exit blocks need to be updated for all nested loops...
|
||||||
|
|
||||||
; RUN: llvm-as < %s | opt -preheaders
|
; RUN: llvm-as < %s | opt -loopsimplify
|
||||||
|
|
||||||
implementation ; Functions:
|
implementation ; Functions:
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
; This testcase exposed a problem with the loop identification pass (LoopInfo).
|
; This testcase exposed a problem with the loop identification pass (LoopInfo).
|
||||||
; Basically, it was incorrectly calculating the loop nesting information.
|
; Basically, it was incorrectly calculating the loop nesting information.
|
||||||
;
|
;
|
||||||
; RUN: llvm-as < %s | opt -preheaders
|
; RUN: llvm-as < %s | opt -loopsimplify
|
||||||
|
|
||||||
implementation ; Functions:
|
implementation ; Functions:
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
; inserted for the "fail" loop, but the exit block of a loop is not updated
|
; inserted for the "fail" loop, but the exit block of a loop is not updated
|
||||||
; to be the preheader instead of the exit loop itself.
|
; to be the preheader instead of the exit loop itself.
|
||||||
|
|
||||||
; RUN: llvm-as < %s | opt -preheaders
|
; RUN: llvm-as < %s | opt -loopsimplify
|
||||||
|
|
||||||
int %re_match_2() {
|
int %re_match_2() {
|
||||||
br label %loopentry.1
|
br label %loopentry.1
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
; RUN: llvm-as < %s | opt -preheaders
|
; RUN: llvm-as < %s | opt -loopsimplify
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
; RUN: llvm-as < %s | opt -preheaders
|
; RUN: llvm-as < %s | opt -loopsimplify
|
||||||
|
|
||||||
void %foo(bool %C) {
|
void %foo(bool %C) {
|
||||||
br bool %C, label %T, label %F
|
br bool %C, label %T, label %F
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
; This testcase exposed a problem with the loop identification pass (LoopInfo).
|
; This testcase exposed a problem with the loop identification pass (LoopInfo).
|
||||||
; Basically, it was incorrectly calculating the loop nesting information.
|
; Basically, it was incorrectly calculating the loop nesting information.
|
||||||
;
|
;
|
||||||
; RUN: llvm-as < %s | opt -preheaders
|
; RUN: llvm-as < %s | opt -loopsimplify
|
||||||
|
|
||||||
implementation ; Functions:
|
implementation ; Functions:
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
; inserted for the "fail" loop, but the exit block of a loop is not updated
|
; inserted for the "fail" loop, but the exit block of a loop is not updated
|
||||||
; to be the preheader instead of the exit loop itself.
|
; to be the preheader instead of the exit loop itself.
|
||||||
|
|
||||||
; RUN: llvm-as < %s | opt -preheaders
|
; RUN: llvm-as < %s | opt -loopsimplify
|
||||||
|
|
||||||
int %re_match_2() {
|
int %re_match_2() {
|
||||||
br label %loopentry.1
|
br label %loopentry.1
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
; RUN: llvm-as < %s | opt -preheaders
|
; RUN: llvm-as < %s | opt -loopsimplify
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
; RUN: llvm-as < %s | opt -preheaders
|
; RUN: llvm-as < %s | opt -loopsimplify
|
||||||
|
|
||||||
void %foo(bool %C) {
|
void %foo(bool %C) {
|
||||||
br bool %C, label %T, label %F
|
br bool %C, label %T, label %F
|
||||||
|
Loading…
Reference in New Issue
Block a user