diff options
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2024-05-03 09:41:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-03 09:41:27 +0200 |
| commit | 9731b77e80261c627d79980f8c275700bdaf6591 (patch) | |
| tree | 8ae9a801cd97b2b3d414fa71c18cb2e4be0e4e96 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 70b5a22678cf38982086762b0b2ec02eb8f9dbc2 (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
