diff options
| author | bors <bors@rust-lang.org> | 2025-01-02 19:02:41 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-01-02 19:02:41 +0000 |
| commit | 4363f9b6f6d3656d94adbcabba6348a485ef9a56 (patch) | |
| tree | dacd3c741321c8801549f6645f2ed05df41446a2 /compiler/rustc_codegen_llvm/src | |
| parent | 1b2745d72a13d7a6f0547bfb55555a38007e518d (diff) | |
| parent | 666794e5c7f569e8462a19cd92930bec4cfe328c (diff) | |
| download | rust-4363f9b6f6d3656d94adbcabba6348a485ef9a56.tar.gz rust-4363f9b6f6d3656d94adbcabba6348a485ef9a56.zip | |
Auto merge of #135040 - matthiaskrgr:rollup-34vsa8n, r=matthiaskrgr
Rollup of 5 pull requests Successful merges: - #135016 (Ping me for rustc-dev-guide subtree changes on this repo) - #135027 (Remove range-metadata amdgpu workaround) - #135029 (Update mailmap) - #135033 (try to dedup me in the mailmap) - #135035 (Fix formatting command) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/builder.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/compiler/rustc_codegen_llvm/src/builder.rs b/compiler/rustc_codegen_llvm/src/builder.rs index ab0e43e60a4..5a34b52e6ef 100644 --- a/compiler/rustc_codegen_llvm/src/builder.rs +++ b/compiler/rustc_codegen_llvm/src/builder.rs @@ -610,14 +610,6 @@ impl<'a, 'll, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'll, 'tcx> { } fn range_metadata(&mut self, load: &'ll Value, range: WrappingRange) { - if self.sess().target.arch == "amdgpu" { - // amdgpu/LLVM does something weird and thinks an i64 value is - // split into a v2i32, halving the bitwidth LLVM expects, - // tripping an assertion. So, for now, just disable this - // optimization. - return; - } - if self.cx.sess().opts.optimize == OptLevel::No { // Don't emit metadata we're not going to use return; |
