[all-commits] [llvm/llvm-project] 0c2630: [InstCombine] Drop incorrect test (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Jan 19 06:56:41 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c2630be22610b4bc79305f73759ac5334ded540
      https://github.com/llvm/llvm-project/commit/0c2630be22610b4bc79305f73759ac5334ded540
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-01-19 (Thu, 19 Jan 2023)

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

  Log Message:
  -----------
  [InstCombine] Drop incorrect test (NFC)

I made a typo here, this was supposed to be !align rather than
!aligned. But then !align can only be applied to loads, not calls
(where one would use the return attribute instead). And freeze
can't be pushed through loads anyway, so there's no way to test
this case (same as !nonnull).




More information about the All-commits mailing list