diff options
author | Timm Bäder <tbaeder@redhat.com> | 2024-02-28 16:14:49 +0100 |
---|---|---|
committer | Timm Bäder <tbaeder@redhat.com> | 2024-02-28 18:14:12 +0100 |
commit | 95e036956f0a610027907df9a8f99d1f3c3b4cf5 (patch) | |
tree | aa4134e5361e41e62a67cedfdfd53224ba2b239f /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 28162b7832b87c85faedfca661e47d60e74337e9 (diff) | |
download | llvm-95e036956f0a610027907df9a8f99d1f3c3b4cf5.zip llvm-95e036956f0a610027907df9a8f99d1f3c3b4cf5.tar.gz llvm-95e036956f0a610027907df9a8f99d1f3c3b4cf5.tar.bz2 |
[clang][Interp] Note UB when converting Inf to integer
The F.isFinite() check here was introduced back when the first
floating point implementation was pushed, but I don't think it's
necessary and it fixes the attached test case.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions