diff options
author | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2018-07-02 17:29:43 +0000 |
---|---|---|
committer | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2018-07-02 17:29:43 +0000 |
commit | 4d5b1073ba87f6709112d0d9b5270ee51d3abd54 (patch) | |
tree | 7092adab58fd58dc72a6580d86337d58dd13a92f /llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | |
parent | d4f77a523bb99d3ac7132dfb5783b85835312cce (diff) | |
download | bcm5719-llvm-4d5b1073ba87f6709112d0d9b5270ee51d3abd54.tar.gz bcm5719-llvm-4d5b1073ba87f6709112d0d9b5270ee51d3abd54.zip |
[MC] Error on a .zerofill directive in a non-virtual section
On darwin, all virtual sections have zerofill type, and having a
.zerofill directive in a non-virtual section is not allowed. Instead of
asserting, show a nicer error.
In order to use the equivalent of .zerofill in a non-virtual section,
the usage of .zero of .space is required.
This patch replaces the assert with an error.
Differential Revision: https://reviews.llvm.org/D48517
llvm-svn: 336127
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp')
0 files changed, 0 insertions, 0 deletions