
----------------------------------------
define i64 @callee() {
bb:
  %v = shl nuw i64 3, 63
  ret i64 %v
}
=>
define i64 @callee() nofree willreturn memory(none) {
bb:
  ret i64 undef
}
Transformation seems to be correct!


----------------------------------------
declare i64 @callee()

define i64 @caller() {
entry:
  %r = call i64 @callee()
  ret i64 %r
}
=>
define i64 @caller() nofree willreturn memory(none) {
entry:
  assume i1 0
}
Transformation doesn't verify!

ERROR: Source is more defined than target

Example:

Source:
i64 %r = function did not return!

SOURCE MEMORY STATE
===================
NON-LOCAL BLOCKS:
Block 0 >	size: 0	align: 1	alloc type: 0	alive: false	address: #x0
Block 1 >	size: 0	align: 8	alloc type: 0	alive: true	address: #x8

Target:
void = UB triggered!

TARGET MEMORY STATE
===================
NON-LOCAL BLOCKS:
Block 0 >	size: 0	align: 1	alloc type: 0	alive: false	address: #x0
Block 1 >	size: 0	align: 8	alloc type: 0	alive: true	address: #x8


Summary:
  1 correct transformations
  1 incorrect transformations
  0 failed-to-prove transformations
  0 Alive2 errors
