summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Format/FormatTest.cpp
diff options
context:
space:
mode:
authorRichard Osborne <richard@xmos.com>2014-04-14 12:30:35 +0000
committerRichard Osborne <richard@xmos.com>2014-04-14 12:30:35 +0000
commitda16ff47cd8c73721312a6cafffb88f2dbd48675 (patch)
tree4c664637e0640aa832b18348a9ec6acb67fd24c3 /clang/unittests/Format/FormatTest.cpp
parentdb8804b32b17593e808173abe52f747a8d78ad8d (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud