[all-commits] [llvm/llvm-project] ca7e84: [llvm] Use llvm::bit_floor (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Sun Jan 22 13:41:37 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca7e849720c2a02264865e79c42b0179049df144
      https://github.com/llvm/llvm-project/commit/ca7e849720c2a02264865e79c42b0179049df144
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-01-22 (Sun, 22 Jan 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/utils/TableGen/AsmWriterEmitter.cpp

  Log Message:
  -----------
  [llvm] Use llvm::bit_floor (NFC)

In all these cases, the arguments to Log2_32 are known to be nonzero,
so we don't have to worry about "1 << -1".




More information about the All-commits mailing list