lebedev.ri added inline comments.
================ Comment at: llvm/lib/Transforms/Utils/SimplifyCFG.cpp:5512-5525 + // If not in x86 or aarch64 mode, do not generate a relative lookup table. + Triple TargetTriple(M.getTargetTriple()); + if (!(TargetTriple.getArch() == Triple::x86_64 || + TargetTriple.getArch() == Triple::aarch64)) + return false; + + // If not tiny or small code model, do not generate a relative lookup table. ---------------- This should be some TLI/TTI hook. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D94355/new/ https://reviews.llvm.org/D94355 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits