HomePhabricator

Add InstCombine/InstructionSimplify support for Freeze Instruction

Authored by aqjune on Nov 6 2019, 8:12 AM.

Description

Add InstCombine/InstructionSimplify support for Freeze Instruction

Summary:

  • Add llvm::SimplifyFreezeInst
  • Add InstCombiner::visitFreeze
  • Add llvm tests

Reviewers: majnemer, sanjoy, reames, lebedev.ri, spatel

Reviewed By: reames, lebedev.ri

Subscribers: reames, lebedev.ri, filcab, regehr, trentxintong, llvm-commits

Differential Revision: https://reviews.llvm.org/D29013