Test Failure: Transforms/PruneEH/simplenoreturntest.ll

Test source: git

Log:

Source: <stdin>

----------------------------------------
define i32 @caller() {
%0:
  call void @noreturn()
  ret i32 17
}
=>
define i32 @caller() {
%0:
  call void @noreturn()
  assume i1 0
}
Transformation doesn't verify!
ERROR: Source is more defined than target

Example:

Source:

SOURCE MEMORY STATE
===================
NON-LOCAL BLOCKS:
Block 0 >	size: 0	align: 64	alloc type: 0
Block 1 >	size: 0	align: 2	alloc type: 0

Target:



------------------- SMT STATS -------------------
Num queries: 2
Num invalid: 0
Num skips:   0
Num trivial: 0 (0.0%)
Num timeout: 0 (0.0%)
Num errors:  0 (0.0%)
Num SAT:     2 (100.0%)
Num UNSAT:   0 (0.0%)

stderr:

+ : 'RUN: at line 1'
+ /home/nlopes/alive2/scripts/opt-alive.sh -prune-eh -S
+ /home/nlopes/llvm/build/bin/not grep 'ret i32'

Alive2: Transform doesn't verify; aborting!

 

<-- Back