[all-commits] [llvm/llvm-project] d68521: [ArgPromotion] Add tests for already seen offsets ...

Pavel Samolysov via All-commits all-commits at lists.llvm.org
Fri May 13 03:30:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d6852155b9df48d7278d87f9915cec732c63df2a
      https://github.com/llvm/llvm-project/commit/d6852155b9df48d7278d87f9915cec732c63df2a
  Author: Pavel Samolysov <samolisov at gmail.com>
  Date:   2022-05-13 (Fri, 13 May 2022)

  Changed paths:
    M llvm/test/Transforms/ArgumentPromotion/align.ll

  Log Message:
  -----------
  [ArgPromotion] Add tests for already seen offsets (NFC)

If a load with the same offset has already been seen but the load had
a lower alignment, the pass has to check whether the pointer is
dereferenceable and is sufficiently aligned (so, the new alignment must
be taken into account).




More information about the All-commits mailing list