File tree 7 files changed +0
-21
lines changed
librustc_platform_intrinsics
7 files changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -806,9 +806,6 @@ def open(platform):
806
806
use {{Intrinsic, Type}};
807
807
use IntrinsicDef::Named;
808
808
809
- // The default inlining settings trigger a pathological behaviour in
810
- // LLVM, which causes makes compilation very slow. See #28273.
811
- #[inline(never)]
812
809
pub fn find(name: &str) -> Option<Intrinsic> {{
813
810
if !name.starts_with("{0}") {{ return None }}
814
811
Some(match &name["{0}".len()..] {{''' .format (platform .platform_prefix ())
Original file line number Diff line number Diff line change 16
16
use { Intrinsic , Type } ;
17
17
use IntrinsicDef :: Named ;
18
18
19
- // The default inlining settings trigger a pathological behaviour in
20
- // LLVM, which causes makes compilation very slow. See #28273.
21
- #[ inline( never) ]
22
19
pub fn find ( name : & str ) -> Option < Intrinsic > {
23
20
if !name. starts_with ( "aarch64_v" ) { return None }
24
21
Some ( match & name[ "aarch64_v" . len ( ) ..] {
Original file line number Diff line number Diff line change 16
16
use { Intrinsic , Type } ;
17
17
use IntrinsicDef :: Named ;
18
18
19
- // The default inlining settings trigger a pathological behaviour in
20
- // LLVM, which causes makes compilation very slow. See #28273.
21
- #[ inline( never) ]
22
19
pub fn find ( name : & str ) -> Option < Intrinsic > {
23
20
if !name. starts_with ( "arm_v" ) { return None }
24
21
Some ( match & name[ "arm_v" . len ( ) ..] {
Original file line number Diff line number Diff line change 16
16
use { Intrinsic , Type } ;
17
17
use IntrinsicDef :: Named ;
18
18
19
- // The default inlining settings trigger a pathological behaviour in
20
- // LLVM, which causes makes compilation very slow. See #28273.
21
- #[ inline( never) ]
22
19
pub fn find ( name : & str ) -> Option < Intrinsic > {
23
20
if !name. starts_with ( "Q6_" ) { return None }
24
21
Some ( match & name[ "Q6_" . len ( ) ..] {
Original file line number Diff line number Diff line change 16
16
use { Intrinsic , Type } ;
17
17
use IntrinsicDef :: Named ;
18
18
19
- // The default inlining settings trigger a pathological behaviour in
20
- // LLVM, which causes makes compilation very slow. See #28273.
21
- #[ inline( never) ]
22
19
pub fn find ( name : & str ) -> Option < Intrinsic > {
23
20
if !name. starts_with ( "nvptx" ) { return None }
24
21
Some ( match & name[ "nvptx" . len ( ) ..] {
Original file line number Diff line number Diff line change 16
16
use { Intrinsic , Type } ;
17
17
use IntrinsicDef :: Named ;
18
18
19
- // The default inlining settings trigger a pathological behaviour in
20
- // LLVM, which causes makes compilation very slow. See #28273.
21
- #[ inline( never) ]
22
19
pub fn find ( name : & str ) -> Option < Intrinsic > {
23
20
if !name. starts_with ( "powerpc" ) { return None }
24
21
Some ( match & name[ "powerpc" . len ( ) ..] {
Original file line number Diff line number Diff line change 16
16
use { Intrinsic , Type } ;
17
17
use IntrinsicDef :: Named ;
18
18
19
- // The default inlining settings trigger a pathological behaviour in
20
- // LLVM, which causes makes compilation very slow. See #28273.
21
- #[ inline( never) ]
22
19
pub fn find ( name : & str ) -> Option < Intrinsic > {
23
20
if !name. starts_with ( "x86" ) { return None }
24
21
Some ( match & name[ "x86" . len ( ) ..] {
You can’t perform that action at this time.
0 commit comments