Test Failure: Transforms/ConstProp/overflow-ops.ll

Test source: git

Log:

Source: <stdin>

----------------------------------------
define {i8, i1} @uadd_1() {
%0:
  %t = uadd_overflow {i8, i1} 42, 100
  ret {i8, i1} %t
}
=>
define {i8, i1} @uadd_1() {
%0:
  ret {i8, i1} { 142, 0 }
}
Transformation seems to be correct!


----------------------------------------
define {i8, i1} @uadd_2() {
%0:
  %t = uadd_overflow {i8, i1} 142, 120
  ret {i8, i1} %t
}
=>
define {i8, i1} @uadd_2() {
%0:
  ret {i8, i1} { 6, 1 }
}
Transformation seems to be correct!


----------------------------------------
define {i8, i1} @uadd_undef() {
%0:
  %t = uadd_overflow {i8, i1} 142, undef
  ret {i8, i1} %t
}
=>
define {i8, i1} @uadd_undef() {
%0:
  ret {i8, i1} { undef, 0 }
}
Transformation doesn't verify!
ERROR: Value mismatch

Example:

Source:
{i8, i1} %t = { undef, undef }

Target:
Source value: { undef, undef }
Target value: { #x80 (128, -128), #x0 (0) }


------------------- SMT STATS -------------------
Num queries: 8
Num invalid: 0
Num skips:   0
Num trivial: 13 (61.9%)
Num timeout: 0 (0.0%)
Num errors:  0 (0.0%)
Num SAT:     4 (50.0%)
Num UNSAT:   4 (50.0%)

stderr:

+ : 'RUN: at line 2'
+ /home/nlopes/alive2/scripts/opt-alive.sh -constprop -S
+ /home/nlopes/llvm/build/bin/FileCheck /home/nlopes/llvm/llvm/test/Transforms/ConstProp/overflow-ops.ll --check-prefixes=CHECK,CONSTPROP

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/ConstProp/overflow-ops.ll --check-prefixes=CHECK,CONSTPROP

 

<-- Back