Unverified Commit 049993ea authored by Nuri Amari's avatar Nuri Amari Committed by GitHub
Browse files

[FunctionComparator] Differentiate instructions passing different MDStrings (#69543)



Prior to this patch, differing metadata operands to two otherwise
identical instructions was not enough to consider the instructions
different in the eyes of the function comparator. This breaks LLVM
virtual function elimination, among other features.

In this patch, we handle the case where two associated operands are
MDStrings of different value. This patch does not differentiate more
complex metadata operands.

---------

Co-authored-by: default avatarNuri Amari <nuriamari@fb.com>
parent d173ce4a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment