diff options
author | Craig Topper <craig.topper@gmail.com> | 2017-03-13 17:16:50 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2017-03-13 17:16:50 +0000 |
commit | df5beb2d6f8305d2ea43d23306087890d83a6573 (patch) | |
tree | e98ec35dedf285194aa6c0d975c66682669c93cc /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 326b4fe7f72ecbb8d4b641720b82514ce94246e8 (diff) | |
download | bcm5719-llvm-df5beb2d6f8305d2ea43d23306087890d83a6573.tar.gz bcm5719-llvm-df5beb2d6f8305d2ea43d23306087890d83a6573.zip |
[X86] Add checking of the scale argument to scatter/gather builtins
The only valid values for scale immediate of scatter/gather builtins are 1, 2, 4, or 8. This patch enforces this in the frontend otherwise we generate invalid instruction encodings in the backend.
Differential Revision: https://reviews.llvm.org/D30875
llvm-svn: 297642
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions