Skip to content

Commit 5ab0d94

Browse files
committed
Minor cleanups.
1 parent cfaf8d9 commit 5ab0d94

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

src/mono/System.Private.CoreLib/src/ILLink/ILLink.Substitutions.Intrinsics.Vectors.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
<method signature="System.Boolean get_IsHardwareAccelerated()" body="stub" value="false" />
88
</type>
99
</assembly>
10-
</linker>
10+
</linker>

src/mono/System.Private.CoreLib/src/ILLink/ILLink.Substitutions.Intrinsics.x86.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@
7676
<method signature="System.Boolean get_IsSupported()" body="stub" value="false" />
7777
</type>
7878
</assembly>
79-
</linker>
79+
</linker>

src/mono/mono/mini/aot-compiler.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4227,7 +4227,6 @@ get_plt_entry (MonoAotCompile *acfg, MonoJumpInfo *patch_info)
42274227
res->llvm_symbol = mono_mempool_strdup_printf (acfg->mempool, "%s_%s_llvm", res->symbol, res->debug_sym);
42284228
else
42294229
res->llvm_symbol = mono_mempool_strdup_printf (acfg->mempool, "%s_llvm", res->symbol);
4230-
42314230
if (strstr (res->llvm_symbol, acfg->temp_prefix) == res->llvm_symbol)
42324231
res->llvm_symbol = res->llvm_symbol + strlen (acfg->temp_prefix);
42334232

src/mono/mono/mini/method-to-ir.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4750,10 +4750,8 @@ static gboolean
47504750
aggressive_inline_method (MonoMethod *cmethod)
47514751
{
47524752
gboolean aggressive_inline = m_method_is_aggressive_inlining (cmethod);
4753-
#ifdef MONO_ARCH_SIMD_INTRINSICS
47544753
if (aggressive_inline)
47554754
aggressive_inline = !mono_simd_unsupported_aggressive_inline_intrinsic_type (cmethod);
4756-
#endif
47574755
return aggressive_inline;
47584756
}
47594757

src/mono/mono/mini/simd-intrinsics.c

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6169,10 +6169,11 @@ mono_simd_decompose_intrinsic (MonoCompile *cfg, MonoBasicBlock *bb, MonoInst *i
61696169
}
61706170

61716171
gboolean
6172-
mono_simd_unsupported_aggressive_inline_intrinsic_type(MonoMethod* cmethod)
6172+
mono_simd_unsupported_aggressive_inline_intrinsic_type (MonoMethod* cmethod)
61736173
{
61746174
return FALSE;
61756175
}
6176+
61766177
#endif /*defined(TARGET_WIN32) && defined(TARGET_AMD64)*/
61776178

61786179
#endif /* DISABLE_JIT */
@@ -6207,6 +6208,12 @@ mono_simd_decompose_intrinsic (MonoCompile *cfg, MonoBasicBlock *bb, MonoInst *i
62076208
{
62086209
}
62096210

6211+
gboolean
6212+
mono_simd_unsupported_aggressive_inline_intrinsic_type (MonoMethod* cmethod)
6213+
{
6214+
return FALSE;
6215+
}
6216+
62106217
#endif /* MONO_ARCH_SIMD_INTRINSICS */
62116218

62126219
#if defined(TARGET_AMD64)

0 commit comments

Comments
 (0)