mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Finally re-apply r46959. This is made feasible by the combination
of r56230, r56232, and r56246. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56247 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
; RUN: llvm-as < %s | opt -indvars | llvm-dis > %t
|
||||
; RUN: not grep select %t
|
||||
; RUN: grep select %t | count 2
|
||||
; RUN: grep {icmp ne i32.\* %w } %t
|
||||
|
||||
; Indvars should be able to insert a canonical induction variable
|
||||
; for the bb6 loop without using a maximum calculation (icmp, select)
|
||||
; because it should be able to prove that the comparison is guarded
|
||||
; by an appropriate conditional branch.
|
||||
; by an appropriate conditional branch. Unfortunately, indvars is
|
||||
; not yet able to find the comparison for the other too loops in
|
||||
; this testcase.
|
||||
|
||||
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
|
||||
target triple = "i386-apple-darwin9"
|
||||
|
Reference in New Issue
Block a user