[PATCH] D46305: [MC][ARM] Correct Thumb BL instruction range

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 1 12:33:41 PDT 2018


efriedma added inline comments.


================
Comment at: lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp:529
+        (!STI->getFeatureBits()[ARM::FeatureThumb2] &&
+         !STI->getFeatureBits()[ARM::HasV8MBaselineOps] &&
+         !isInt<23>(Value - 4))) {
----------------
I think we also need to check for HasV6MOps here.


https://reviews.llvm.org/D46305





More information about the llvm-commits mailing list