When using the .cpu directive with the integrated assembler on ARM, various subtarget features are getting incorrectly disabled. This is caused by storing the 64-bit feature bitset in a 32-bit variable, causing the top half of the available feature set to be discarded.
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
... other than that, LGTM.
lib/Target/ARM/AsmParser/ARMAsmParser.cpp | ||
---|---|---|
9186 | I would change these two lines to: setAvailableFeatures(ComputeAvailableFeatures(STI.getFeatureBits())); |
I would change these two lines to: