================
@@ -687,7 +687,9 @@ static void addKCFIPass(const Triple &TargetTriple, const 
LangOptions &LangOpts,
                         PassBuilder &PB) {
   // If the back-end supports KCFI operand bundle lowering, skip KCFIPass.
   if (TargetTriple.getArch() == llvm::Triple::x86_64 ||
-      TargetTriple.isAArch64(64) || TargetTriple.isRISCV())
+      TargetTriple.isAArch64(64) || TargetTriple.isRISCV() ||
+      TargetTriple.getArch() == llvm::Triple::arm ||
----------------
kees wrote:

Hrm. Isn't this dependent on target triple, though? Under arm-linux-eabi is 
thumb mode allowed at all? I just want to leave generic mode enabled for 
non-arm32-mode. 😭

https://github.com/llvm/llvm-project/pull/163698
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to