This fixes
warning: loop variable 'Def' of type 'const llvm::Register' creates a copy from type 'const llvm::Register' [-Wrange-loop-analysis]
llvm::Register just contains a single unsigned and should be copied.
Differential D77011
[AMDGPU] Drop const for value that is copied (NFC_. fhahn on Mar 29 2020, 5:25 AM. Authored by
Details
This fixes warning: loop variable 'Def' of type 'const llvm::Register' creates a copy from type 'const llvm::Register' [-Wrange-loop-analysis] llvm::Register just contains a single unsigned and should be copied.
Diff Detail
Unit Tests
|