mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-06 21:07:00 +00:00
librustc: remove outdated workaround
Fixed upstream: https://github.com/llvm-mirror/llvm/commit/ca07e256f62f
This commit is contained in:
parent
92e3fb3ebe
commit
2872c23618
@ -535,9 +535,6 @@ unsafe fn configure_llvm(sess: &Session) {
|
|||||||
if sess.time_llvm_passes() { add("-time-passes"); }
|
if sess.time_llvm_passes() { add("-time-passes"); }
|
||||||
if sess.print_llvm_passes() { add("-debug-pass=Structure"); }
|
if sess.print_llvm_passes() { add("-debug-pass=Structure"); }
|
||||||
|
|
||||||
// FIXME #21627 disable faulty FastISel on AArch64 (even for -O0)
|
|
||||||
if sess.target.target.arch == "aarch64" { add("-fast-isel=0"); }
|
|
||||||
|
|
||||||
for arg in &sess.opts.cg.llvm_args {
|
for arg in &sess.opts.cg.llvm_args {
|
||||||
add(&(*arg));
|
add(&(*arg));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user