mirror of
https://github.com/intel/intel-graphics-compiler.git
synced 2025-11-04 08:21:06 +08:00
Minor fixes and refactors
Fix: - uninitialized variables, - potential memory leaks, - invalid format strings passed `printf`. Various small refactors and fixes.
This commit is contained in:
committed by
igcbot
parent
c8a624251e
commit
1cd6fa2a8a
@ -1350,7 +1350,7 @@ void DeSSA::getAllCoalescedValues(
|
||||
// First, add values from InsEltMap
|
||||
for (int i = 0, sz = (int)Vals.size(); i < sz; ++i) {
|
||||
Value* ccVal = Vals[i];
|
||||
for (auto II : InsEltMap) {
|
||||
for (const auto &II : InsEltMap) {
|
||||
Value* R = II.second;
|
||||
if (R != ccVal) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user