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