[all-commits] [llvm/llvm-project] 019ae8: [CVP] Fix tests for clamp patterns (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat Mar 6 01:29:10 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 019ae8220f79f1e66e2442941ab0f5958add4d2a
      https://github.com/llvm/llvm-project/commit/019ae8220f79f1e66e2442941ab0f5958add4d2a
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-03-06 (Sat, 06 Mar 2021)

  Changed paths:
    M llvm/test/Transforms/CorrelatedValuePropagation/basic.ll

  Log Message:
  -----------
  [CVP] Fix tests for clamp patterns (NFC)

These tests didn't test the pattern they were supposed to, because
%a instead of %add was used in the select, which turned this into
a normal min/max).

Noticed this when commenting out the clamp handling code did not
result in any test failures...


  Commit: b42be01788fd4dd769bcd22859f8411691197e6a
      https://github.com/llvm/llvm-project/commit/b42be01788fd4dd769bcd22859f8411691197e6a
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-03-06 (Sat, 06 Mar 2021)

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

  Log Message:
  -----------
  [LVI] Pass offset by reference (NFC)

Instead of by pointer. This allows us to use offsets that are not
materialized in the IR.


Compare: https://github.com/llvm/llvm-project/compare/99682bc039df...b42be01788fd


More information about the All-commits mailing list