[all-commits] [llvm/llvm-project] 8351f9: [ValueTracking] Fix assert on shufflevector of poi...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Nov 27 12:24:15 PST 2020


  Branch: refs/heads/temp-test-main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8351f9b5ce7e3e2af5773c83e618d68a21d93d7e
      https://github.com/llvm/llvm-project/commit/8351f9b5ce7e3e2af5773c83e618d68a21d93d7e
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-11-27 (Fri, 27 Nov 2020)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/unittests/Analysis/ValueTrackingTest.cpp

  Log Message:
  -----------
  [ValueTracking] Fix assert on shufflevector of pointers

In this case getScalarSizeInBits() is not well-defined. Use the
existing TyBits variable that handles vectors of pointers correctly.




More information about the All-commits mailing list