Remove method X86LowerAMXType::getRowFromCol since it's not used, and
it's causing a warning.
[AMDGPU] Fix gcc 9.3.0 warning from -Wtype-limits
Fixes this warning when using gcc 9.3.0
lib/Target/AMDGPU/R600GenSubtargetInfo.inc:282:62: warning: comparison
of unsigned expression < 0 is always false [-Wtype-limits]
if (Bits[R600::FeatureLocalMemorySize0] && LocalMemorySize <0)
LocalMemorySize = 0;
[CMake] Disable -Wmisleading-indentation when using gcc
gcc doesn't handle -Wmisleading-indentation correctly, leading to
warnings when using gcc. See
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81334 for details. This
change disables -Wmisleading-indentation to avoid warnings when using
gcc, and leaves it enabled for other compilers. This can be re-enabled
when gcc behaves as expected.
[AMDGPU] Use gcc pragmas to disable -Wtype-limits warning
Use gcc pragmas to disable warning in generated filed. This is producing
a warning when using using gcc 9.3.0.
lib/Target/AMDGPU/R600GenSubtargetInfo.inc:282:62: warning: comparison
of unsigned expression < 0 is always false [-Wtype-limits]
if (Bits[R600::FeatureLocalMemorySize0] && LocalMemorySize <0) LocalMemorySize = 0;
clang-format not found in user’s local PATH; not linting file.