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
- Repository
- rL LLVM
Event Timeline
lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp | ||
---|---|---|
368 ↗ | (On Diff #111545) | I believe this can be just a cast, rather than a dyn_cast (we know the cloned instruction is a MemIntrinsic). |
370 ↗ | (On Diff #111545) | You might consider adding a message within the assert: |