aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorTimm Bäder <tbaeder@redhat.com>2022-10-30 10:05:42 +0100
committerTimm Bäder <tbaeder@redhat.com>2022-11-07 09:05:29 +0100
commitf4707af2944015732b1f35e1bc66cc62f489cef2 (patch)
tree0a0da01e8dd3a90be18b6b3bedd6b5e5df11d3c5 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentc40ef64462eeac9bafc28512dfaae55475016676 (diff)
downloadllvm-f4707af2944015732b1f35e1bc66cc62f489cef2.zip
llvm-f4707af2944015732b1f35e1bc66cc62f489cef2.tar.gz
llvm-f4707af2944015732b1f35e1bc66cc62f489cef2.tar.bz2
[clang][Interp][NFCI] Cleanup emitConst()
Before, when emitting a regular integer constant, we went: Int -> APInt -> int -> emit Fix this by using regular integer constants in emitConst() and instead converting APInt to those once.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions