aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2020-08-10 12:40:05 -0700
committerThomas Lively <tlively@google.com>2020-08-10 12:40:05 -0700
commit514445e0353e82fa0bd59eeea437499500e232cd (patch)
treeddcc9522eacf9205a8f671ff6a937ca96468db27 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentc0b5000bd848303320c03f80fbf84d71e74518c9 (diff)
downloadllvm-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