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.
Details
Details
- Reviewers
- None
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
We have isIdenticalTo above, and then we have isSameOperationAs. The later details how it's different from the former. You ought to do the same thing here.