aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorJF Bastien <jfbastien@apple.com>2018-12-10 19:27:38 +0000
committerJF Bastien <jfbastien@apple.com>2018-12-10 19:27:38 +0000
commit69f6098e89312b934ed87e4cd3603401a9b436b4 (patch)
tree58af5357af19893d7f24253b6a419c888be8bf96 /clang/lib/CodeGen/ModuleBuilder.cpp
parentce2837f880a519d435be9e220b62c10b6361d798 (diff)
downloadllvm-69f6098e89312b934ed87e4cd3603401a9b436b4.zip
llvm-69f6098e89312b934ed87e4cd3603401a9b436b4.tar.gz
llvm-69f6098e89312b934ed87e4cd3603401a9b436b4.tar.bz2
APFloat: allow 64-bit of payload
Summary: The APFloat and Constant APIs taking an APInt allow arbitrary payloads, and that's great. There's a convenience API which takes an unsigned, and that's silly because it then directly creates a 64-bit APInt. Just change it to 64-bits directly. At the same time, add ConstantFP NaN getters which match the APFloat ones (with getQNaN / getSNaN and APInt parameters). Improve the APFloat testing to set more payload bits. Reviewers: scanon, rjmccall Subscribers: jkorous, dexonsmith, kristina, llvm-commits Differential Revision: https://reviews.llvm.org/D55460 llvm-svn: 348791
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions