diff --git a/llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn index 2c33adb2a6d4d..7793901770f3b 100644 --- a/llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn +++ b/llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn @@ -497,6 +497,13 @@ static_library("builtins") { ] } + if (current_cpu == "ve") { + sources += [ + "ve/grow_stack.S", + "ve/grow_stack_align.S", + ] + } + if (!compiler_rt_exclude_atomic_builtin) { sources += [ # This comment prevents `gn format` from putting the file on the same line