Skip to content

Commit ee7ca88

Browse files
[InstCombine][DebugInfo] Remove superflous assertion, add test [2/2]
Accidentally committed a prior version of this patch. This is the correct version.
1 parent ac4e01e commit ee7ca88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/test/Transforms/InstCombine/debuginfo-scalable-typesize.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ define float @debug_scalablevec_bitcast_to_scalar() {
2121
call void @llvm.dbg.declare(metadata <vscale x 4 x float>* %v.addr, metadata !3, metadata !DIExpression()), !dbg !5
2222
%a = bitcast <vscale x 4 x float>* %v.addr to float*
2323
%b = load float, float* %a, align 16
24-
ret float undef
24+
ret float %b
2525
}
2626

2727
declare void @llvm.dbg.declare(metadata, metadata, metadata)

0 commit comments

Comments
 (0)