[PATCH] D109714: Reduce maximum width of _ExtInt from 2^24-1 to 2^23 to workaround SelectionDAG issue.
Craig Topper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 13 12:27:19 PDT 2021
craig.topper created this revision.
craig.topper added reviewers: aaron.ballman, erichkeane.
craig.topper requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
SelectionDAG type legalization requires a power of 2 type with at
least as many bits as the _ExtInt. This power of 2 type size must
fit in 24 bits since an llvm::IntegerType will be created. This
places an effective limit of 2^23 on any integer types if they go
through SelectionDAG.
Fixes part of PR51829.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D109714
Files:
clang/docs/ReleaseNotes.rst
clang/lib/Sema/SemaType.cpp
clang/test/CodeGen/ext-int.c
clang/test/CodeGenCXX/ext-int.cpp
clang/test/SemaCXX/ext-int.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109714.372318.patch
Type: text/x-patch
Size: 5132 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210913/a69e738b/attachment-0001.bin>
More information about the cfe-commits
mailing list