mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Eliminate explicit control flow in tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6961 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
; This test ensures that the simplifycfg pass continues to constant fold
|
||||
; terminator instructions.
|
||||
|
||||
; RUN: if as < %s | opt -simplifycfg | grep br
|
||||
; RUN: then exit 1
|
||||
; RUN: else exit 0
|
||||
; RUN: fi
|
||||
; RUN: as < %s | opt -simplifycfg | not grep br
|
||||
|
||||
int %test(int %A, int %B) {
|
||||
J:
|
||||
|
Reference in New Issue
Block a user