Array-as-Immediate array ABI is missing noundef
parameter metadata
#123183
Labels
A-codegen
Area: Code generation
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-optimization
Category: An issue highlighting optimization opportunities or PRs implementing such
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Today, these
give https://play.rust-lang.org/?version=nightly&mode=release&edition=2021&gist=084e57540370e8a6a2c51dd98053396a
Note specifically how they have
i32 %0
andi64 %0
-- that means we're not telling LLVM that the array must be initialized (non-undef and non-poison).#106294 did this for normal scalars. For example if you change that first one to
then you correctly get
i32 noundef %v
.It looks like it was just missed in some of the trickier ABI cases.
The text was updated successfully, but these errors were encountered: