summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2024-05-03 09:41:27 +0200
committerGitHub <noreply@github.com>2024-05-03 09:41:27 +0200
commit9731b77e80261c627d79980f8c275700bdaf6591 (patch)
tree8ae9a801cd97b2b3d414fa71c18cb2e4be0e4e96 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent70b5a22678cf38982086762b0b2ec02eb8f9dbc2 (diff)
AMDGPU: Implement llvm.set.rounding (#88587)
Use a shift of a magic constant and some offseting to convert from flt_rounds values. I don't know why the enum defines Dynamic = 7. The standard suggests -1 is the cannot determine value. If we could start the extended values at 4 we wouldn't need the extra compare sub and select. https://reviews.llvm.org/D153257
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions