[llvm] ee7ca88 - [InstCombine][DebugInfo] Remove superflous assertion, add test [2/2]
Peter Waller via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 18 06:48:43 PDT 2021
Author: Peter Waller
Date: 2021-10-18T13:48:23Z
New Revision: ee7ca88a3ec55a3cd8a81ce54beba12f6b047857
URL: https://github.com/llvm/llvm-project/commit/ee7ca88a3ec55a3cd8a81ce54beba12f6b047857
DIFF: https://github.com/llvm/llvm-project/commit/ee7ca88a3ec55a3cd8a81ce54beba12f6b047857.diff
LOG: [InstCombine][DebugInfo] Remove superflous assertion, add test [2/2]
Accidentally committed a prior version of this patch. This is the
correct version.
Added:
Modified:
llvm/test/Transforms/InstCombine/debuginfo-scalable-typesize.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/InstCombine/debuginfo-scalable-typesize.ll b/llvm/test/Transforms/InstCombine/debuginfo-scalable-typesize.ll
index d986494ee501..fe7e98a21561 100644
--- a/llvm/test/Transforms/InstCombine/debuginfo-scalable-typesize.ll
+++ b/llvm/test/Transforms/InstCombine/debuginfo-scalable-typesize.ll
@@ -21,7 +21,7 @@ define float @debug_scalablevec_bitcast_to_scalar() {
call void @llvm.dbg.declare(metadata <vscale x 4 x float>* %v.addr, metadata !3, metadata !DIExpression()), !dbg !5
%a = bitcast <vscale x 4 x float>* %v.addr to float*
%b = load float, float* %a, align 16
- ret float undef
+ ret float %b
}
declare void @llvm.dbg.declare(metadata, metadata, metadata)
More information about the llvm-commits
mailing list