mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
[GlobalISel] findGISelOptimalMemOpLowering - remove dead initalization. NFCI.
Fixes static analyzer warning that "Value stored to 'NewTySize' during its initialization is never read". llvm-svn: 371937
This commit is contained in:
parent
1c7c7fdaaf
commit
4a4cc4e628
@ -673,10 +673,8 @@ static bool findGISelOptimalMemOpLowering(
|
||||
// SDAGisms map cleanly to GISel concepts.
|
||||
if (NewTy.isVector())
|
||||
NewTy = NewTy.getSizeInBits() > 64 ? LLT::scalar(64) : LLT::scalar(32);
|
||||
NewTy = LLT::scalar(PowerOf2Floor(NewTy.getSizeInBits() - 1));
|
||||
unsigned NewTySize = NewTy.getSizeInBytes();
|
||||
|
||||
NewTy = LLT::scalar(PowerOf2Floor(NewTy.getSizeInBits()-1));
|
||||
NewTySize = NewTy.getSizeInBytes();
|
||||
assert(NewTySize > 0 && "Could not find appropriate type");
|
||||
|
||||
// If the new LLT cannot cover all of the remaining bits, then consider
|
||||
|
Loading…
Reference in New Issue
Block a user