diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-02-16 17:26:59 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-02-16 17:26:59 +0000 |
commit | 1b81064d1e3555a24eef3c09bc2ccd481eb9b31b (patch) | |
tree | a344eeb578bf5caf40de1f0becfb457bde40fbbe /llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | |
parent | 8c83b9b8c54fc8904e451bb8ee2c57dd304df8c9 (diff) | |
download | bcm5719-llvm-1b81064d1e3555a24eef3c09bc2ccd481eb9b31b.tar.gz bcm5719-llvm-1b81064d1e3555a24eef3c09bc2ccd481eb9b31b.zip |
Fix signed/unsigned comparison warning. NFCI.
llvm-svn: 325363
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp index 8f42c414c4c..72a9c06fd3d 100644 --- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp @@ -1472,7 +1472,7 @@ bool TargetLowering::SimplifyDemandedVectorElts( M = -1; } IdentityLHS &= (M < 0) || (M == (int)i); - IdentityRHS &= (M < 0) || ((M - NumElts) == (int)i); + IdentityRHS &= (M < 0) || ((M - NumElts) == i); } // Update legal shuffle masks based on demanded elements if it won't reduce |