aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorFarzon Lotfi <1802579+farzonl@users.noreply.github.com>2024-05-08 00:57:39 -0400
committerGitHub <noreply@github.com>2024-05-08 00:57:39 -0400
commit3e82442ff7288b4c41bb77888bc2cfea2c34d6ee (patch)
treeb055078599ef46b78026b9ff44496f0132760d52 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent8296f061aafb844bf3b9b002b7791ade7a1d3006 (diff)
downloadllvm-3e82442ff7288b4c41bb77888bc2cfea2c34d6ee.zip
llvm-3e82442ff7288b4c41bb77888bc2cfea2c34d6ee.tar.gz
llvm-3e82442ff7288b4c41bb77888bc2cfea2c34d6ee.tar.bz2
[SPIRV] Add tan intrinsic part 3 (#90278)
This change is an implementation of #87367's investigation on supporting IEEE math operations as intrinsics. Which was discussed in this RFC: https://discourse.llvm.org/t/rfc-all-the-math-intrinsics/78294 If you want an overarching view of how this will all connect see: https://github.com/llvm/llvm-project/pull/90088 Changes: - `llvm/docs/GlobalISel/GenericOpcode.rst` - Document the `G_FTAN` opcode - `llvm/include/llvm/IR/Intrinsics.td` - Create the tan intrinsic - `llvm/include/llvm/Support/TargetOpcodes.def` - Create a `G_FTAN` Opcode handler - `llvm/include/llvm/Target/GenericOpcodes.td` - Define the `G_FTAN` Opcode - `llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp` Map the tan intrinsic to `G_FTAN` Opcode - `llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp` - Map the `G_FTAN` opcode to the GLSL 4.5 and openCL tan instructions. - `llvm/lib/Target/SPIRV/SPIRVLegalizerInfo.cpp` - Define `G_FTAN` as a legal spirv target opcode.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions