Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change checking for auto-init metadata to use
equalsStr
instead of …
…casing MDOperand nodes. Since `MD_annotation` metadata now supports having mutliple strings in the annotation node. casing Operand to string directly will cause a crash. When checking if `MDOperand` equals str you can use `equalsStr` method. Reviewed By: serge-sans-paille Differential Revision: https://reviews.llvm.org/D152372
- Loading branch information