diff options
| author | Richard Osborne <richard@xmos.com> | 2014-04-14 12:30:35 +0000 |
|---|---|---|
| committer | Richard Osborne <richard@xmos.com> | 2014-04-14 12:30:35 +0000 |
| commit | da16ff47cd8c73721312a6cafffb88f2dbd48675 (patch) | |
| tree | 4c664637e0640aa832b18348a9ec6acb67fd24c3 /clang/unittests/Format/FormatTest.cpp | |
| parent | db8804b32b17593e808173abe52f747a8d78ad8d (diff) | |
| download | bcm5719-llvm-da16ff47cd8c73721312a6cafffb88f2dbd48675.tar.gz bcm5719-llvm-da16ff47cd8c73721312a6cafffb88f2dbd48675.zip | |
[XCore] Don't create invalid MKMSK instructions inside loadImmediate().
Summary:
Previously loadImmediate() would produce MKMSK instructions with invalid
immediate values such as mkmsk r0, 9. Fix this by checking the mask size
is valid.
Reviewers: robertlytton
Reviewed By: robertlytton
CC: llvm-commits
Differential Revision: http://reviews.llvm.org/D3289
llvm-svn: 206163
Diffstat (limited to 'clang/unittests/Format/FormatTest.cpp')
0 files changed, 0 insertions, 0 deletions

