Test Failure: Transforms/InstSimplify/gep.ll

Test source: git

Log:

Source: <stdin>
ERROR: Unsupported type: <vscale x 4 x i32*>
ERROR: Unsupported type: <vscale x 4 x float*>
ERROR: Unsupported type: <vscale x 2 x i64*>

----------------------------------------
define * @test1(* %b, * %e) {
%0:
  %e_ptr = ptrtoint * %e to i64
  %b_ptr = ptrtoint * %b to i64
  %sub = sub i64 %e_ptr, %b_ptr
  %sdiv = sdiv exact i64 %sub, 7
  %gep = gep inbounds * %b, 7 x i64 %sdiv
  ret * %gep
}
=>
define * @test1(* %b, * %e) {
%0:
  ret * %e
}
Transformation doesn't verify!
ERROR: Timeout


----------------------------------------
define * @test2(* %b, * %e) {
%0:
  %e_ptr = ptrtoint * %e to i64
  %b_ptr = ptrtoint * %b to i64
  %sub = sub i64 %e_ptr, %b_ptr
  %gep = gep inbounds * %b, 1 x i64 %sub
  ret * %gep
}
=>
define * @test2(* %b, * %e) {
%0:
  ret * %e
}
Transformation doesn't verify!
ERROR: Value mismatch

Example:
* %b = pointer(non-local, block_id=1, offset=414331165649928193)
* %e = pointer(non-local, block_id=0, offset=8935141660703064063)

Source:
i64 %e_ptr = #x7bffffffffffffff (8935141660703064063)
i64 %b_ptr = #x7dbffffffbf00003 (9061242450201280515)
i64 %sub = #xfe400000040ffffc (18320643284211335164, -126100789498216452)
* %gep = pointer(non-local, block_id=1, offset=288230376151711741)

SOURCE MEMORY STATE
===================
NON-LOCAL BLOCKS:
Block 0 >	size: 0	align: 1	alloc type: 0	address: 0
Block 1 >	size: 468383157405614080	align: 2	alloc type: 0	address: 8646911284551352322
Block 2 >	size: 2699907974469482495	align: 2	alloc type: 0	address: 3765018084574789633

Target:
Source value: pointer(non-local, block_id=1, offset=288230376151711741)
Target value: pointer(non-local, block_id=0, offset=8935141660703064063)


------------------- SMT STATS -------------------
Num queries: 7
Num invalid: 0
Num skips:   0
Num trivial: 4 (36.4%)
Num timeout: 1 (14.3%)
Num errors:  0 (0.0%)
Num SAT:     3 (42.9%)
Num UNSAT:   3 (42.9%)

stderr:

+ : 'RUN: at line 2'
+ /home/nlopes/llvm/build/bin/FileCheck /home/nlopes/llvm/llvm/test/Transforms/InstSimplify/gep.ll
+ /home/nlopes/alive2/build/opt-alive.sh -S -instsimplify

Alive2: Transform doesn't verify; aborting!
FileCheck error: '<stdin>' is empty.
FileCheck command line:  /home/nlopes/llvm/build/bin/FileCheck /home/nlopes/llvm/llvm/test/Transforms/InstSimplify/gep.ll

 

<-- Back