[PATCH] D82892: Added comparision for all types in haveSameSpecialState() of Instruction.cpp
Vishal Chebrolu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 3 11:52:35 PDT 2020
vish99 updated this revision to Diff 275443.
vish99 added a comment.
Added hasSamePropertiesAs() method in each subclass of the IR which should say how two IR instructions of that subclass should be compared.
Changed haveSameSpecialState() method to make use of the hasSamePropertiesAs() methods.
When there is a change to IR, only the hasSamePropertiesAs() method needs of that subclass need to be updated.
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/Instructions.h
llvm/lib/IR/Instruction.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82892.275443.patch
Type: text/x-patch
Size: 45279 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200703/21a13970/attachment-0001.bin>
More information about the llvm-commits
mailing list