[PATCH] D133202: [Clang][CodeGen] Fix __builtin_assume_aligned crash
Lin Yurong via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 2 06:22:21 PDT 2022
yronglin created this revision.
yronglin added a reviewer: rjmccall.
Herald added a project: All.
yronglin requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Clang will crash when __builtin_assume_aligned's 1st arg is array type(or string literal).
Open issue: https://github.com/llvm/llvm-project/issues/57169
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D133202
Files:
clang/include/clang/Basic/Builtins.def
clang/lib/CodeGen/CGBuiltin.cpp
clang/lib/CodeGen/CodeGenFunction.cpp
clang/lib/Sema/SemaChecking.cpp
clang/test/CodeGen/catch-alignment-assumption-array.c
clang/test/CodeGen/catch-alignment-assumption-ignorelist.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133202.457577.patch
Type: text/x-patch
Size: 10097 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220902/bba0ef21/attachment-0001.bin>
More information about the cfe-commits
mailing list