[PATCH] D82892: [NFC] Added comparision for all types in haveSameSpecialState() of Instruction.cpp

Vishal Chebrolu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 18 12:58:07 PDT 2020


vish99 updated this revision to Diff 279022.
vish99 added a comment.

Changed hasSamePropertiesAs() method in each subclass of IR to introduce total ordering between two instructions of that subclass
and modified FunctionComparator to use haveSameSpecialState() method for IR comparision.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82892/new/

https://reviews.llvm.org/D82892

Files:
  llvm/include/llvm/IR/InstrTypes.h
  llvm/include/llvm/IR/Instruction.h
  llvm/include/llvm/IR/Instructions.h
  llvm/lib/IR/Instruction.cpp
  llvm/lib/IR/Instructions.cpp
  llvm/lib/Transforms/Utils/FunctionComparator.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82892.279022.patch
Type: text/x-patch
Size: 94675 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200718/97096a47/attachment-0001.bin>


More information about the llvm-commits mailing list