diff options
author | Thomas Lively <tlively@google.com> | 2020-08-10 12:40:05 -0700 |
---|---|---|
committer | Thomas Lively <tlively@google.com> | 2020-08-10 12:40:05 -0700 |
commit | 514445e0353e82fa0bd59eeea437499500e232cd (patch) | |
tree | ddcc9522eacf9205a8f671ff6a937ca96468db27 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | c0b5000bd848303320c03f80fbf84d71e74518c9 (diff) | |
download | llvm-514445e0353e82fa0bd59eeea437499500e232cd.zip llvm-514445e0353e82fa0bd59eeea437499500e232cd.tar.gz llvm-514445e0353e82fa0bd59eeea437499500e232cd.tar.bz2 |
[WebAssembly][ConstantFolding] Fold fp-to-int truncation intrinsics
Constant fold both the trapping and saturating versions of the
WebAssembly truncation intrinsics. The tests are adapted from the
WebAssembly spec tests for the corresponding instructions.
Requested in PR46982.
Differential Revision: https://reviews.llvm.org/D85392
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions