[all-commits] [llvm/llvm-project] b98921: [BasicAA] Move more extension logic into ExtendedV...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Sep 30 11:45:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b989211d7db6bcc64bb9148bfb80bab4ebb6887e
      https://github.com/llvm/llvm-project/commit/b989211d7db6bcc64bb9148bfb80bab4ebb6887e
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-09-30 (Thu, 30 Sep 2021)

  Changed paths:
    M llvm/lib/Analysis/BasicAliasAnalysis.cpp

  Log Message:
  -----------
  [BasicAA] Move more extension logic into ExtendedValue (NFC)

Add methods to appropriately extend KnownBits/ConstantRange there,
same as with APInt. Also clean up the known bits handling by
actually doing that extension rather than checking ZExtBits. This
doesn't matter now, but becomes relevant once truncation is
involved.




More information about the All-commits mailing list