1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

[LV] Fix signed/unsigned comparison warning.

llvm-svn: 348949
This commit is contained in:
Michael Kruse 2018-12-12 18:07:19 +00:00
parent d0ff6ced87
commit b72e26000d

View File

@ -114,7 +114,8 @@ public:
unsigned getInterleave() const { return Interleave.Value; }
unsigned getIsVectorized() const { return IsVectorized.Value; }
enum ForceKind getForce() const {
if (Force.Value == FK_Undefined && hasDisableAllTransformsHint(TheLoop))
if ((ForceKind)Force.Value == FK_Undefined &&
hasDisableAllTransformsHint(TheLoop))
return FK_Disabled;
return (ForceKind)Force.Value;
}