[all-commits] [llvm/llvm-project] b1a633: [NFC][NVPTX] remove truncating c-style cast (#85889)

Alex MacLean via All-commits all-commits at lists.llvm.org
Tue Mar 26 16:39:53 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1a633bc014a845a58f0f3c4e442219051646c19
      https://github.com/llvm/llvm-project/commit/b1a633bc014a845a58f0f3c4e442219051646c19
  Author: Alex MacLean <amaclean at nvidia.com>
  Date:   2024-03-26 (Tue, 26 Mar 2024)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp

  Log Message:
  -----------
  [NFC][NVPTX] remove truncating c-style cast (#85889)

While a stack size large enough to cause this truncation to be a problem
would certainly cause other issues and not produce a valid program
anyway, this cast is triggering our Coverity static analysis. Removing
it seems cleaner.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list