mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 19:42:54 +02:00
Add a testcase from pr16244.
llvm-svn: 183433
This commit is contained in:
parent
ee3ee53f08
commit
64d9e8bdc2
@ -988,3 +988,13 @@ define i1 @icmp_add_and_shr_ne_0(i32 %X) {
|
||||
%tobool = icmp ne i32 %add, 0
|
||||
ret i1 %tobool
|
||||
}
|
||||
|
||||
; PR16244
|
||||
; CHECK: define i1 @test71
|
||||
; CHECK-NEXT: ret i1 false
|
||||
define i1 @test71(i8* %x) {
|
||||
%a = getelementptr i8* %x, i64 8
|
||||
%b = getelementptr inbounds i8* %x, i64 8
|
||||
%c = icmp ugt i8* %a, %b
|
||||
ret i1 %c
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user