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:47:38 +0000
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>2016-02-12 14:47:38 +0000
commite59964377cdf3b716d2792d22cf7235bc6a3ef58 (patch)
tree6f12f07ccbf67c4aa39cda7624ff67412cb59ff0 /clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp
parent74bcf03f873987c8bf4f090308649b85860b9228 (diff)
downloadbcm5719-llvm-e59964377cdf3b716d2792d22cf7235bc6a3ef58.tar.gz
bcm5719-llvm-e59964377cdf3b716d2792d22cf7235bc6a3ef58.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: 260678
Diffstat (limited to 'clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud