Test source: git
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 = { any, any } Target: Source value: { any, any } Target value: { #x80 (128, -128), #x0 (0) } ------------------- SMT STATS ------------------- Num queries: 9 Num invalid: 0 Num skips: 0 Num trivial: 15 (62.5%) Num timeout: 0 (0.0%) Num errors: 0 (0.0%) Num SAT: 4 (44.4%) Num UNSAT: 5 (55.6%)
+ : 'RUN: at line 2' + /home/nlopes/alive2/build/opt-alive.sh -instsimplify -S + /home/nlopes/llvm/build/bin/FileCheck /home/nlopes/llvm/llvm/test/Transforms/InstSimplify/ConstProp/overflow-ops.ll 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/ConstProp/overflow-ops.ll