[all-commits] [llvm/llvm-project] ef8b4e: Add validity assert on entry to CastInst::isNoopCa...

Philip Reames via All-commits all-commits at lists.llvm.org
Wed Oct 7 14:06:06 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ef8b4e4fcd687f66ef0271d1257075f1f53dd34b
      https://github.com/llvm/llvm-project/commit/ef8b4e4fcd687f66ef0271d1257075f1f53dd34b
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2020-10-07 (Wed, 07 Oct 2020)

  Changed paths:
    M llvm/include/llvm/IR/InstrTypes.h
    M llvm/lib/IR/Instructions.cpp

  Log Message:
  -----------
  Add validity assert on entry to CastInst::isNoopCast [NFC]

This required some minor code reorganization to have a version of castIsValid which worked purely in terms of types.




More information about the All-commits mailing list