mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-11 00:39:36 +00:00
[WebAssembly] Set the scheduling preference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241637 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8f32e5f0d6
commit
8ef6f1e24b
@ -38,6 +38,8 @@ WebAssemblyTargetLowering::WebAssemblyTargetLowering(
|
||||
// WebAssembly does not produce floating-point exceptions on normal floating
|
||||
// point operations.
|
||||
setHasFloatingPointExceptions(false);
|
||||
// We don't know the microarchitecture here, so just reduce register pressure.
|
||||
setSchedulingPreference(Sched::RegPressure);
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
Loading…
x
Reference in New Issue
Block a user