================ @@ -330,6 +331,8 @@ class LLVM_LIBRARY_VISIBILITY MipsTargetInfo : public TargetInfo { IsMicromips = true; else if (Feature == "+mips32r6" || Feature == "+mips64r6") HasUnalignedAccess = true; + else if (Feature == "+strict-align") + StrictAlign = true; ---------------- wzssyqa wrote:
We cannot due to that +strict-align may be listed before +mips32/64. I have some try. In all my try, +mips32/64 appeared before +strict-align. But I am not sure that +mips32/64 will always appear before +strict-align. https://github.com/llvm/llvm-project/pull/87257 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits