[InstCombine] Remove assumptions about int having 32 bits
authorMartin Sebor <msebor@redhat.com>
Mon, 15 Aug 2022 16:06:12 +0000 (10:06 -0600)
committerMartin Sebor <msebor@redhat.com>
Tue, 16 Aug 2022 21:35:08 +0000 (15:35 -0600)
commite858f5120da77f46a6676c6fd63ccbbb83b23d2d
tree587f9b29e3d076cff306fc9db207617e801051d5
parent1fe72001e8d69cae1975a360fee055c2fd3730f4
[InstCombine] Remove assumptions about int having 32 bits

Reviewed By: bjope

Differential Revision: https://reviews.llvm.org/D131731
llvm/lib/Transforms/Utils/BuildLibCalls.cpp
llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
llvm/test/Transforms/InstCombine/ffs-i16.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/fls-i16.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/isascii-i16.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/isdigit-i16.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/printf-i16.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/puts-i16.ll [new file with mode: 0644]