aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-10-07 19:47:53 +0000
committerManman Ren <manman.ren@gmail.com>2013-10-07 19:47:53 +0000
commit5a78755336ba7296568423d68d45d4b57aae8080 (patch)
tree4b0a36a95e30024dff3e5b004ade3a3bc36d4e76 /clang/lib/Frontend/CompilerInvocation.cpp
parent4c0a71223a5595375fd9ad9c1895e8d5966d7289 (diff)
downloadllvm-5a78755336ba7296568423d68d45d4b57aae8080.zip
llvm-5a78755336ba7296568423d68d45d4b57aae8080.tar.gz
llvm-5a78755336ba7296568423d68d45d4b57aae8080.tar.bz2
Struct byval: use the correct alignment for loads generated to load
from struct byval to registers. We used to pass 0 which means the alignment of PtrVT. Even when the alignment of the struct is smaller than 4, the LOADs would have alignment of 4, and further optimizations could combine the LOADs into a ldm, which would cause crash. The fix is to pass the alignment of the struct byval. rdar://problem/15144402 llvm-svn: 192126
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions