Open
Description
While playing around with #102664 I noticed a different llvm error:
Code
fn main() {
let x = 1 as f64 / u128::MAX as f64;
dbg!(x);
}
compiled with -C opt-level=3 -C target-feature=-sse2 -C lto=fat
will cause an llvm error:
LLVM ERROR: Access past stack top!
Meta
rustc --version --verbose
:
rustc 1.66.0-nightly (f83e0266c 2022-10-03)
binary: rustc
commit-hash: f83e0266cf7aaa4b41505c49a5fd9c2363166522
commit-date: 2022-10-03
host: x86_64-unknown-linux-gnu
release: 1.66.0-nightly
LLVM version: 15.0.2
Metadata
Metadata
Assignees
Labels
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Enabling/disabling target features like AVX, Neon, etc.Category: This is a bug.Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Relevant to the compiler team, which will review and decide on the PR/issue.