This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5c729750a6d7: [WebAssembly] Remove saturating fp-to-int
target intrinsics (authored by tlively).
Changed prior to commit:
https://reviews.llvm.org
tlively added inline comments.
Comment at: llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp:124-127
+ if (Subtarget->hasNontrappingFPToInt())
+for (auto Op : {ISD::FP_TO_SINT_SAT, ISD::FP_TO_UINT_SAT})
+ for (auto T : {MVT::i32, MVT::i64})
+setOperationAc
aheejin accepted this revision.
aheejin added inline comments.
This revision is now accepted and ready to land.
Comment at: llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp:124-127
+ if (Subtarget->hasNontrappingFPToInt())
+for (auto Op : {ISD::FP_TO_SINT_SAT, ISD::FP
tlively created this revision.
tlively added reviewers: aheejin, dschuff.
Herald added subscribers: wingo, ecnelises, sunfish, hiraditya,
jgravelle-google, sbc100.
tlively requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.
U