diff options
author | Valentin Clement <clementval@gmail.com> | 2022-09-02 20:44:44 +0200 |
---|---|---|
committer | Valentin Clement <clementval@gmail.com> | 2022-09-02 20:44:56 +0200 |
commit | 6b9b85b79d09b8fd107be1aa6a5fa91d49a36d4e (patch) | |
tree | ba499a926bc5289adb712cc2dfdcbdfb6172b6cb /clang/lib/Frontend/ChainedIncludesSource.cpp | |
parent | c55bf526356bab67fcd65eafb2ca253c20e0715e (diff) | |
download | llvm-6b9b85b79d09b8fd107be1aa6a5fa91d49a36d4e.zip llvm-6b9b85b79d09b8fd107be1aa6a5fa91d49a36d4e.tar.gz llvm-6b9b85b79d09b8fd107be1aa6a5fa91d49a36d4e.tar.bz2 |
[flang] Use APInt to lower 128 bits integer constants
Lowering was truncating 128 bits integer to 64 bits. This
patch makes use of APInt to lower 128 bits integer correctly.
```
program bug
print *, 170141183460469231731687303715884105727_16
end
! Before patch: 18446744073709551615
! With patch: 170141183460469231731687303715884105727
```
Reviewed By: vdonaldson
Differential Revision: https://reviews.llvm.org/D133206
Diffstat (limited to 'clang/lib/Frontend/ChainedIncludesSource.cpp')
0 files changed, 0 insertions, 0 deletions