diff options
Diffstat (limited to 'polly/lib/Analysis/ScopDetectionDiagnostic.cpp')
-rw-r--r-- | polly/lib/Analysis/ScopDetectionDiagnostic.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/polly/lib/Analysis/ScopDetectionDiagnostic.cpp b/polly/lib/Analysis/ScopDetectionDiagnostic.cpp index d6539846767..4573e65f2e8 100644 --- a/polly/lib/Analysis/ScopDetectionDiagnostic.cpp +++ b/polly/lib/Analysis/ScopDetectionDiagnostic.cpp @@ -208,6 +208,22 @@ bool ReportInvalidCond::classof(const RejectReason *RR) { } //===----------------------------------------------------------------------===// +// ReportUnsignedCond. + +std::string ReportUnsignedCond::getMessage() const { + return ("Condition in BB '" + BB->getName()).str() + + "' performs a comparision on (not yet supported) unsigned integers."; +} + +std::string ReportUnsignedCond::getEndUserMessage() const { + return "Unsupported comparision on unsigned integers encountered"; +} + +bool ReportUnsignedCond::classof(const RejectReason *RR) { + return RR->getKind() == rrkUnsignedCond; +} + +//===----------------------------------------------------------------------===// // ReportUndefOperand. std::string ReportUndefOperand::getMessage() const { |