mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Change these tests to feed the assembly files to opt directly, instead
of using llvm-as, now that opt supports this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81226 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
; This is a basic sanity check for constant propogation. The add instruction
|
||||
; and phi instruction should be eliminated.
|
||||
|
||||
; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep phi
|
||||
; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep add
|
||||
; RUN: opt %s -sccp | llvm-dis | not grep phi
|
||||
; RUN: opt %s -sccp | llvm-dis | not grep add
|
||||
|
||||
define i128 @test(i1 %B) {
|
||||
br i1 %B, label %BB1, label %BB2
|
||||
|
Reference in New Issue
Block a user