[llvm-bugs] [Bug 51457] New: Attributor may attempt to truncate a smaller value to a larger one
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Aug 12 08:22:51 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=51457
Bug ID: 51457
Summary: Attributor may attempt to truncate a smaller value to
a larger one
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Interprocedural Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: jdoerfert at anl.gov
CC: llvm-bugs at lists.llvm.org
Blocks: 51236
While casting constants we did not explicitly check if the types were larger
before calling CreateTrunc, this crashed:
store i32 42, i32* @bytes2
%bc = bitcast i32* @bytes2 to i64*
%l = load i64, i64* %bc
Referenced Bugs:
https://bugs.llvm.org/show_bug.cgi?id=51236
[Bug 51236] [meta] 13.0.0 Release Blockers
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210812/70303f18/attachment.html>
More information about the llvm-bugs
mailing list