mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 02:32:08 +00:00
ec9a35a6f9
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47793 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
407 B
LLVM
14 lines
407 B
LLVM
; This is a bug in the VMcode library, not instcombine, it's just convenient
|
|
; to expose it here.
|
|
|
|
; RUN: llvm-as < %s | opt -instcombine -disable-output
|
|
|
|
@A = global i32 1 ; <i32*> [#uses=1]
|
|
@B = global i32 2 ; <i32*> [#uses=1]
|
|
|
|
define i1 @test() {
|
|
%C = icmp ult i32* getelementptr (i32* @A, i64 1), getelementptr (i32* @B, i64 2) ; <i1> [#uses=1]
|
|
ret i1 %C
|
|
}
|
|
|