Commit 98ccc70b authored by pvanhout's avatar pvanhout
Browse files

[DAG] Fix crash in replaceStoreOfInsertLoad

Idx's type can be different from Ptr's, causing a "Binary operator types must match" assertion failure when emitting the MUL.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D156972
parent 86c4dfa2
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