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: unassignedb...@nondot.org
Reporter: jdoerf...@anl.gov
CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs