diff options
author | Shilei Tian <i@tianshilei.me> | 2024-03-08 14:49:52 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-08 14:49:52 -0500 |
commit | e963d0740e64fc70b4018f39325469d204f6217a (patch) | |
tree | cd187d4ced18f0550b55c2c300c204256eac8b4e /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 52b3e89ff4517521e40f5e416a40e574321eaee9 (diff) | |
download | llvm-e963d0740e64fc70b4018f39325469d204f6217a.zip llvm-e963d0740e64fc70b4018f39325469d204f6217a.tar.gz llvm-e963d0740e64fc70b4018f39325469d204f6217a.tar.bz2 |
[AMDGPU] Replace `isInlinableLiteral16` with specific version (#84402)
The current implementation of `isInlinableLiteral16` assumes, a 16-bit
inlinable
literal is either an `i16` or a `fp16`. This is not always true because
of
`bf16`. However, we can't tell `fp16` and `bf16` apart by just looking
at the
value. This patch splits `isInlinableLiteral16` into three versions,
`i16`,
`fp16`, `bf16` respectively, and call the corresponding version.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions