[llvm-dev] Difference between -mattr=+soft-float and -float-abi=soft

Moritz Angermann via llvm-dev llvm-dev at lists.llvm.org
Tue Sep 26 01:09:37 PDT 2017


I’ve run into a case where `llc -mattr=+soft-float` for
"armv7-unknown-linux-androideabi” segfaults, while
`llc -float-abi=soft` does not.  Similarly if the
"target-features"="+soft-float” metadata is embedded,
llc segfaults.

I fear I’m missing something rather subtle here, could
someone help me understand the differences?


More information about the llvm-dev mailing list