mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Do not attempt to reduce a test case if it is an empty set.
llvm-svn: 7570
This commit is contained in:
parent
4f1ed9c65b
commit
a326e31a1c
@ -114,7 +114,7 @@ public:
|
||||
|
||||
virtual TestResult doTest(std::vector<Function*> &Prefix,
|
||||
std::vector<Function*> &Suffix) {
|
||||
if (TestFuncs(Suffix, false))
|
||||
if (!Suffix.empty() && TestFuncs(Suffix, false))
|
||||
return KeepSuffix;
|
||||
if (!Prefix.empty() && TestFuncs(Prefix, false))
|
||||
return KeepPrefix;
|
||||
|
Loading…
Reference in New Issue
Block a user