Enable default inlining in platform intrinsics
This commit is contained in:
parent
88b025bccb
commit
e7f63f1756
7 changed files with 0 additions and 21 deletions
|
|
@ -806,9 +806,6 @@ class CompilerDefs(object):
|
|||
use {{Intrinsic, Type}};
|
||||
use IntrinsicDef::Named;
|
||||
|
||||
// The default inlining settings trigger a pathological behaviour in
|
||||
// LLVM, which causes makes compilation very slow. See #28273.
|
||||
#[inline(never)]
|
||||
pub fn find(name: &str) -> Option<Intrinsic> {{
|
||||
if !name.starts_with("{0}") {{ return None }}
|
||||
Some(match &name["{0}".len()..] {{'''.format(platform.platform_prefix())
|
||||
|
|
|
|||
|
|
@ -16,9 +16,6 @@
|
|||
use {Intrinsic, Type};
|
||||
use IntrinsicDef::Named;
|
||||
|
||||
// The default inlining settings trigger a pathological behaviour in
|
||||
// LLVM, which causes makes compilation very slow. See #28273.
|
||||
#[inline(never)]
|
||||
pub fn find(name: &str) -> Option<Intrinsic> {
|
||||
if !name.starts_with("aarch64_v") { return None }
|
||||
Some(match &name["aarch64_v".len()..] {
|
||||
|
|
|
|||
|
|
@ -16,9 +16,6 @@
|
|||
use {Intrinsic, Type};
|
||||
use IntrinsicDef::Named;
|
||||
|
||||
// The default inlining settings trigger a pathological behaviour in
|
||||
// LLVM, which causes makes compilation very slow. See #28273.
|
||||
#[inline(never)]
|
||||
pub fn find(name: &str) -> Option<Intrinsic> {
|
||||
if !name.starts_with("arm_v") { return None }
|
||||
Some(match &name["arm_v".len()..] {
|
||||
|
|
|
|||
|
|
@ -16,9 +16,6 @@
|
|||
use {Intrinsic, Type};
|
||||
use IntrinsicDef::Named;
|
||||
|
||||
// The default inlining settings trigger a pathological behaviour in
|
||||
// LLVM, which causes makes compilation very slow. See #28273.
|
||||
#[inline(never)]
|
||||
pub fn find(name: &str) -> Option<Intrinsic> {
|
||||
if !name.starts_with("Q6_") { return None }
|
||||
Some(match &name["Q6_".len()..] {
|
||||
|
|
|
|||
|
|
@ -16,9 +16,6 @@
|
|||
use {Intrinsic, Type};
|
||||
use IntrinsicDef::Named;
|
||||
|
||||
// The default inlining settings trigger a pathological behaviour in
|
||||
// LLVM, which causes makes compilation very slow. See #28273.
|
||||
#[inline(never)]
|
||||
pub fn find(name: &str) -> Option<Intrinsic> {
|
||||
if !name.starts_with("nvptx") { return None }
|
||||
Some(match &name["nvptx".len()..] {
|
||||
|
|
|
|||
|
|
@ -16,9 +16,6 @@
|
|||
use {Intrinsic, Type};
|
||||
use IntrinsicDef::Named;
|
||||
|
||||
// The default inlining settings trigger a pathological behaviour in
|
||||
// LLVM, which causes makes compilation very slow. See #28273.
|
||||
#[inline(never)]
|
||||
pub fn find(name: &str) -> Option<Intrinsic> {
|
||||
if !name.starts_with("powerpc") { return None }
|
||||
Some(match &name["powerpc".len()..] {
|
||||
|
|
|
|||
|
|
@ -16,9 +16,6 @@
|
|||
use {Intrinsic, Type};
|
||||
use IntrinsicDef::Named;
|
||||
|
||||
// The default inlining settings trigger a pathological behaviour in
|
||||
// LLVM, which causes makes compilation very slow. See #28273.
|
||||
#[inline(never)]
|
||||
pub fn find(name: &str) -> Option<Intrinsic> {
|
||||
if !name.starts_with("x86") { return None }
|
||||
Some(match &name["x86".len()..] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue