================
@@ -167,6 +167,10 @@ void riscv::getRISCVTargetFeatures(const Driver &D, const 
llvm::Triple &Triple,
     Features.push_back("-relax");
   }
 
+  // Android requires fast unaligned access on RISCV64.
----------------
pirama-arumuga-nainar wrote:

I think the concern is that `-target riscv64-linux-android -mstrict-align` will 
add `+fast-unaligned-access` and `-fast-unaligned-access` - which would not be 
handled correctly by `unifyTargetFeatures`.

https://github.com/llvm/llvm-project/pull/85704
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to