[all-commits] [llvm/llvm-project] 516333: [ValueTracking] Handle non-pow2 align assume bundl...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Apr 5 07:51:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 516333d632ea7fc9f328520ac46337b7494271d4
      https://github.com/llvm/llvm-project/commit/516333d632ea7fc9f328520ac46337b7494271d4
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-04-05 (Tue, 05 Apr 2022)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Transforms/InstCombine/assume-align.ll

  Log Message:
  -----------
  [ValueTracking] Handle non-pow2 align assume bundle (PR53693)

https://reviews.llvm.org/D119414 clarified that this is legal IR,
so handle it gracefully. (We could aggressively use the fact that
the pointer must be a null pointer in that case, but I'm not
bothering with that.)

Fixes https://github.com/llvm/llvm-project/issues/53693.




More information about the All-commits mailing list