Test source: git
Source: <stdin> ---------------------------------------- define * @test1(* %x) { %entry: %a = bitcast * %x to * %b = load i64, * %a, align 4 %c = int2ptr i64 %b to * ret * %c } => define * @test1(* %x) { %entry: %0 = bitcast * %x to * %b1 = load *, * %0, align 4 ret * %b1 } Transformation doesn't verify! ERROR: Target is more poisonous than source Example: * %x = pointer(non-local, block_id=2, offset=536870915) Source: * %a = pointer(non-local, block_id=2, offset=536870915) i64 %b = #x0000000100000001 (4294967297) * %c = (invalid expr) SOURCE MEMORY STATE =================== NON-LOCAL BLOCKS: Block 0 > size: 0 align: 64 alloc type: 0 address: 0 Block 1 > size: 2212080357736447 align: 2 alloc type: 0 address: 2884485192586625032 Block 2 > size: 1152921504741064712 align: 4 alloc type: 0 address: 1 Block 3 > size: 1 align: 2 alloc type: 0 address: 2305843009213825024 Target: * %0 = pointer(non-local, block_id=2, offset=536870915) * %b1 = poison Source value: (invalid expr) Target value: poison ------------------- SMT STATS ------------------- Num queries: 2 Num invalid: 0 Num skips: 0 Num trivial: 2 (50.0%) Num timeout: 0 (0.0%) Num errors: 0 (0.0%) Num SAT: 2 (100.0%) Num UNSAT: 0 (0.0%)
+ : 'RUN: at line 2' + /home/nlopes/alive2/scripts/opt-alive.sh -instcombine -S + /home/nlopes/llvm/build/bin/FileCheck /home/nlopes/llvm/llvm/test/Transforms/InstCombine/load-bitcast64.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/InstCombine/load-bitcast64.ll