[NVPTXISelLowering] Use getByValSize()
authorNikita Popov <npopov@redhat.com>
Tue, 8 Feb 2022 11:03:38 +0000 (12:03 +0100)
committerNikita Popov <npopov@redhat.com>
Tue, 8 Feb 2022 11:04:34 +0000 (12:04 +0100)
commit54b8fa790eef6c6b563c4c312696ecca22d21917
tree757f337bd45c1c041e77f26cf88f483053e7a956
parentf231599666c7bf93086fe9b1d6687d62355d2871
[NVPTXISelLowering] Use getByValSize()

Instead of computing the size of the pointer element type.
llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp