The array size specification of the an alloca can be any integer,
so zext or trunc it to intptr before attempting to multiply it
with an intptr constant.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D131846
[MSAN] Handle array alloca with non-i64 size specification ClosedPublic Authored by loladiro on Aug 13 2022, 7:28 PM.
Details Summary The array size specification of the an alloca can be any integer,
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 23 2022, 6:17 PM Closed by commit rG30d7d74d5c35: [MSAN] Handle array alloca with non-i64 size specification (authored by loladiro). · Explain WhyAug 23 2022, 8:35 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 455061 llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
llvm/test/Instrumentation/MemorySanitizer/alloca.ll
|