aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-03-24 11:24:40 +0100
committerNikita Popov <npopov@redhat.com>2022-03-25 09:53:30 +0100
commitc48b4641c7baf9f7280d352c13299b3aa0203179 (patch)
tree4cf61214f292d9c87f709a46247a0d08cc02fe7a /clang/lib/Lex/ModuleMap.cpp
parent6daa206b5d605e90b7e219d4efa0809f2ca2d29d (diff)
downloadllvm-c48b4641c7baf9f7280d352c13299b3aa0203179.zip
llvm-c48b4641c7baf9f7280d352c13299b3aa0203179.tar.gz
llvm-c48b4641c7baf9f7280d352c13299b3aa0203179.tar.bz2
[BPF] Don't fetch alignment of llvm.preserve.union.access.index argument
The way the alignment is determined here is not compatible with opaque pointers -- we'd have to thread it through using either align or elementtype attributes. However, as far as I can tell this alignment is actually never used for this particular intrinsic, so I've dropped the assignment entirely and converted RecordAlignment to MaybeAlign, so we get an assertion failure if it does end up being used. Differential Revision: https://reviews.llvm.org/D122379
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions