aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2023-08-09 16:00:58 -0500
committerJoseph Huber <jhuber6@vols.utk.edu>2023-08-09 17:18:07 -0500
commitfe04baf1f79c52c89808f3ec41743205227c022d (patch)
tree606f776ff68850389220a4d4e3ae1613cfb75e43 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent1a8d9a7657bba79099e6e2a6b0568db53d1e9a23 (diff)
downloadllvm-fe04baf1f79c52c89808f3ec41743205227c022d.zip
llvm-fe04baf1f79c52c89808f3ec41743205227c022d.tar.gz
llvm-fe04baf1f79c52c89808f3ec41743205227c022d.tar.bz2
[libc] Silence integer shortening warnings on NVPTX masks
Nvidia uses a 32-bit mask, but we store it in a common 64-bit integer to provide it with a compatible ABI with the AMD implementaiton which may use a 64-bit mask. Silence these warnings by explicitly casting to the smaller value, we know this is always legal as the result will always fit into the smaller value if it was generated on NVPTX. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D157548
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions