[all-commits] [llvm/llvm-project] 0b81ff: [KnownBits] Handle shifts over wide types

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue May 16 02:26:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b81ff3ac50ac4900033c0dde7518a7199d101ae
      https://github.com/llvm/llvm-project/commit/0b81ff3ac50ac4900033c0dde7518a7199d101ae
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-05-16 (Tue, 16 May 2023)

  Changed paths:
    M llvm/lib/Support/KnownBits.cpp
    M llvm/unittests/Support/KnownBitsTest.cpp

  Log Message:
  -----------
  [KnownBits] Handle shifts over wide types

Do not assert if the bit width is larger than 64 bits. This case
is currently hidden from the IR layer by other checks, but gets
exposed with future changes.




More information about the All-commits mailing list