[PATCH] D39871: [arm] Fix Unnecessary reloads from GOT.

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 9 16:56:24 PST 2017


eugenis added a comment.

I've switched to MO_GOT, and killed getCPModifier().

I did not figure out how to select between LDRLIT_ga_pcrel and MOV_ga_pcrel based on TargetFlags. Apparently, I need a ComplexPattern. Anyway, I think that it should be done in a separate patch.


https://reviews.llvm.org/D39871





More information about the llvm-commits mailing list