[all-commits] [llvm/llvm-project] 2c3f82: [NVPTX] Fix NVPTX lowering of frem when denominato...
Benjamin Chetioui via All-commits
all-commits at lists.llvm.org
Thu Jan 5 00:28:09 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2c3f82b7759691f3b67f7e5940e95ac3434b1a9c
https://github.com/llvm/llvm-project/commit/2c3f82b7759691f3b67f7e5940e95ac3434b1a9c
Author: Benjamin Chetioui <bchetioui at google.com>
Date: 2023-01-05 (Thu, 05 Jan 2023)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
M llvm/test/CodeGen/NVPTX/f16-instructions.ll
M llvm/test/CodeGen/NVPTX/f16x2-instructions.ll
M llvm/test/CodeGen/NVPTX/fast-math.ll
Log Message:
-----------
[NVPTX] Fix NVPTX lowering of frem when denominator is infinite.
`frem x, {+,-}inf` must return x to match the specification of LLVM's frem.
Reviewed By: tra
Differential Revision: https://reviews.llvm.org/D140846
More information about the All-commits
mailing list