[all-commits] [llvm/llvm-project] 3a2367: [ValueTracking] Add tests for non-constant idx in ...

goldsteinn via All-commits all-commits at lists.llvm.org
Mon Apr 8 23:02:20 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a2367561d7f4eb1795d6972b294562bc66beb2b
      https://github.com/llvm/llvm-project/commit/3a2367561d7f4eb1795d6972b294562bc66beb2b
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-04-09 (Tue, 09 Apr 2024)

  Changed paths:
    M llvm/test/Transforms/InstCombine/insertelement.ll

  Log Message:
  -----------
  [ValueTracking] Add tests for non-constant idx in `computeKnownBits` of `insertelement`; NFC


  Commit: 964df099e1f8afcb9d052f61e065da82b19cc81b
      https://github.com/llvm/llvm-project/commit/964df099e1f8afcb9d052f61e065da82b19cc81b
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-04-09 (Tue, 09 Apr 2024)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Transforms/InstCombine/insertelement.ll

  Log Message:
  -----------
  [ValueTracking] Support non-constant idx for `computeKnownBits` of `insertelement`

Its same logic as before, we just need to intersect what we know about
the new Elt and the entire pre-existing Vec.

Closes #87707


Compare: https://github.com/llvm/llvm-project/compare/11ba795565c2...964df099e1f8

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list