[all-commits] [llvm/llvm-project] 57a0a9: [InstCombine] Add more inbounds tests for indexed ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Nov 27 00:42:37 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57a0a9aadf1ec4c111e303b7f0fe76505b3ad137
      https://github.com/llvm/llvm-project/commit/57a0a9aadf1ec4c111e303b7f0fe76505b3ad137
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-11-27 (Mon, 27 Nov 2023)

  Changed paths:
    M llvm/test/Transforms/InstCombine/indexed-gep-compares.ll

  Log Message:
  -----------
  [InstCombine] Add more inbounds tests for indexed compare fold (NFC)

Don't only test the case where all GEPs are missing inbounds, also
test inbounds only being present on some of them. The fold should
not be performed in either case.




More information about the All-commits mailing list