khchen added a comment.

clang will calculate the default target-abi if -mabi is empty and encode the it 
in LLVM IR module flag.
then if llc has no target-abi option (`Options.MCOptions.ABIName` is empty), in 
getSubtargetImpl it uses different way to compute the default target-abi, then 
the default result is not same.
Currently it works well because getSubtargetImpl only check the ABI when 
`Options.MCOptions.ABIName` is not empty.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118333/new/

https://reviews.llvm.org/D118333

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to