mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Update LoopSimplify and LoopUnswitch to use the new makeLoopInvariant
function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75584 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
; RUN: llvm-as < %s | opt -indvars | llvm-dis > %t
|
||||
; RUN: grep {\[%\]tmp5.lcssa = phi i8 \\\[ 63, \[%\]cc70a02__complex_integers__Oadd.153.exit.i \\\]} %t
|
||||
; RUN: grep {\[%\]tmp4.lcssa = phi i8 \\\[ -28, \[%\]cc70a02__complex_integers__Oadd.153.exit.i \\\]} %t
|
||||
; RUN: grep {\[%\]tmp7 = icmp eq i8 -28, -28} %t
|
||||
; RUN: grep {\[%\]tmp8 = icmp eq i8 63, 63} %t
|
||||
; PR4477
|
||||
|
||||
; Indvars should compute the exit values in loop.
|
||||
|
Reference in New Issue
Block a user