llvm/llvm/utils/gn/secondary/llvm/lib/Target/targets_with_mcas.gni

import("//llvm/lib/Target/targets.gni")

targets_with_mcas = []
foreach(target, llvm_targets_to_build) {
  if (target == "AMDGPU" || target == "RISCV" || target == "X86") {
    targets_with_mcas += [ target ]
  }
}