Test Failure: Transforms/AlignmentFromAssumptions/simple32.ll

Test source: git

Log:

Source: <stdin>

----------------------------------------
define i32 @foo(* nocapture %a) {
%entry:
  assume i1 1
  %0 = load i32, * nocapture %a, align 4
  ret i32 %0
}
=>
define i32 @foo(* nocapture %a) {
%entry:
  assume i1 1
  %0 = load i32, * nocapture %a, align 32
  ret i32 %0
}
Transformation doesn't verify!
ERROR: Source is more defined than target

Example:
* nocapture %a = pointer(non-local, block_id=1, offset=0, attrs=1)

Source:
i32 %0 = poison

SOURCE MEMORY STATE
===================
NON-LOCAL BLOCKS:
Block 0 >	size: 0	align: 32	alloc type: 0
Block 1 >	size: 8	align: 16	alloc type: 0

Target:
i32 %0 = poison



------------------- 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 3'
+ /home/nlopes/alive2/scripts/opt-alive.sh -alignment-from-assumptions -S
+ /home/nlopes/llvm/build/bin/FileCheck /home/nlopes/llvm/llvm/test/Transforms/AlignmentFromAssumptions/simple32.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/AlignmentFromAssumptions/simple32.ll

 

<-- Back