diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/targets.gni b/llvm/utils/gn/secondary/llvm/lib/Target/targets.gni index 2590432529b6a..102040c2fa82d 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/targets.gni +++ b/llvm/utils/gn/secondary/llvm/lib/Target/targets.gni @@ -68,9 +68,9 @@ foreach(target, llvm_targets_to_build) { llvm_build_WebAssembly = true } else if (target == "X86") { llvm_build_X86 = true - } else if (target == "AVR" || target == "Hexagon" || - target == "Lanai" || target == "NVPTX" || target == "RISCV" || - target == "Sparc" || target == "SystemZ") { + } else if (target == "AVR" || target == "Hexagon" || target == "Lanai" || + target == "NVPTX" || target == "RISCV" || target == "Sparc" || + target == "SystemZ") { # Nothing to do. } else { all_targets_string = "" diff --git a/llvm/utils/gn/secondary/llvm/unittests/MC/AMDGPU/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/MC/AMDGPU/BUILD.gn index 8d1763e65f0ce..ccfe716e8ed78 100644 --- a/llvm/utils/gn/secondary/llvm/unittests/MC/AMDGPU/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/unittests/MC/AMDGPU/BUILD.gn @@ -9,6 +9,7 @@ unittest("AMDGPUDwarfTests") { "//llvm/lib/Target/AMDGPU/TargetInfo", ] sources = [ + # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py. "DwarfRegMappings.cpp", ] }