mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Do not ignore iv uses outside the loop.
This one slipped through cracks very well. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56284 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
; Loop is elimianted. Save last value assignments, including induction variable.
|
||||
; RUN: llvm-as < %s | opt -loop-index-split -disable-output -stats |& \
|
||||
; RUN: grep "loop-index-split" | count 1
|
||||
; RUN: llvm-as < %s | opt -loop-index-split -disable-output -stats | not grep "loop-index-split"
|
||||
|
||||
declare i32 @foo(i32)
|
||||
declare i32 @bar(i32, i32)
|
||||
|
Reference in New Issue
Block a user