Memcpy intrinsics have size argument of any integer type, like i32 or i64.
Fixed size type along with its value when cloning the intrinsic.
Details
Details
Diff Detail
Diff Detail
Differential D36844
[PGO] Fixed assertion due to mismatched memcpy size type. apazos on Aug 17 2017, 12:48 PM. Authored by
Details Memcpy intrinsics have size argument of any integer type, like i32 or i64.
Diff Detail Event Timeline |
I believe this can be just a cast, rather than a dyn_cast (we know the cloned instruction is a MemIntrinsic).