[all-commits] [llvm/llvm-project] 128da9: [InstCombine] Remove disable-verify tests (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed May 18 05:49:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 128da94d38242c28e6bf23ad025e0cb2d6ce9e4f
      https://github.com/llvm/llvm-project/commit/128da94d38242c28e6bf23ad025e0cb2d6ce9e4f
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-05-18 (Wed, 18 May 2022)

  Changed paths:
    R llvm/test/Transforms/InstCombine/objsize-noverify.ll
    R llvm/test/Transforms/InstCombine/select-crash-noverify.ll

  Log Message:
  -----------
  [InstCombine] Remove disable-verify tests (NFC)

InstCombine is not required to do anything sensible if it receives
invalid IR.

These tests seem to be testing self-referential instructions that
may occur in unreachable code -- but InstCombine actually goes out
of the way to remove such instructions ahead of time so it doesn't
need to deal with them.




More information about the All-commits mailing list