[PATCH] D81790: Added hasSamePropertiesAs method for CmpXchgInst and FenceInst

Vishal Chebrolu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 13 10:42:24 PDT 2020


vish99 created this revision.
Herald added subscribers: llvm-commits, jfb, hiraditya.
Herald added a project: LLVM.
vish99 edited the summary of this revision.

Added hasSamePropertiesAs() method for CmpXchgInst and FenceInst, which checks for instruction specific properties of both the instructions and changed FunctionComparator to use these functions in the cmpOperations() method.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81790

Files:
  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: D81790.270580.patch
Type: text/x-patch
Size: 7495 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200613/44b7a1bc/attachment.bin>


More information about the llvm-commits mailing list