[all-commits] [llvm/llvm-project] 9d43f6: [LowerConstantIntrinsics] avoid crashing on alloca...
RotateRight via All-commits
all-commits at lists.llvm.org
Mon Apr 19 10:21:22 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9d43f6d7cee8887cb2a7a2442dffa4ef21ef4446
https://github.com/llvm/llvm-project/commit/9d43f6d7cee8887cb2a7a2442dffa4ef21ef4446
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2021-04-19 (Mon, 19 Apr 2021)
Changed paths:
M llvm/lib/Analysis/MemoryBuiltins.cpp
M llvm/test/Transforms/LowerConstantIntrinsics/objectsize_basic.ll
Log Message:
-----------
[LowerConstantIntrinsics] avoid crashing on alloca with unexpected operand type
The test here is reduced from the fuzzer-generated crasher in:
https://llvm.org/PR50023
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=33395
I don't know if this is the best or complete solution, but the
zext of the i42 type appears to match the behavior if we run a
weird type example like this through the IR optimizer with -O1.
Differential Revision: https://reviews.llvm.org/D100766
More information about the All-commits
mailing list