summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>2016-02-12 14:48:34 +0000
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>2016-02-12 14:48:34 +0000
commit8e57697cfd75ec590307267128456a30707156af (patch)
treea553b66b7ebb4fa9cc25c02eca3f0672c7a729d3 /clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp
parent2f1025d68a2214ea704bf29a9d5ac7e6cc8d2bf0 (diff)
downloadbcm5719-llvm-8e57697cfd75ec590307267128456a30707156af.tar.gz
bcm5719-llvm-8e57697cfd75ec590307267128456a30707156af.zip
[Hexagon] Specify vector alignment in DataLayout string
The DataLayout can calculate alignment of vectors based on the alignment of the element type and the number of elements. In fact, it is the product of these two values. The problem is that for vectors of N x i1, this will return the alignment of N bytes, since the alignment of i1 is 8 bits. The vector types of vNi1 should be aligned to N bits instead. Provide explicit alignment for HVX vectors to avoid such complications. llvm-svn: 260680
Diffstat (limited to 'clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud