mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
[WebAssembly] Set the HasFloatingPointExceptions flag for WebAssembly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241302 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c223f39fa7
commit
44bc052f4d
@ -34,7 +34,11 @@ using namespace llvm;
|
||||
|
||||
WebAssemblyTargetLowering::WebAssemblyTargetLowering(
|
||||
const TargetMachine &TM, const WebAssemblySubtarget &STI)
|
||||
: TargetLowering(TM), Subtarget(&STI) {}
|
||||
: TargetLowering(TM), Subtarget(&STI) {
|
||||
// WebAssembly does not produce floating-point exceptions on normal floating
|
||||
// point operations.
|
||||
setHasFloatingPointExceptions(false);
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// WebAssembly Lowering private implementation.
|
||||
|
Loading…
Reference in New Issue
Block a user