[PATCH] D39871: [arm] Fix Unnecessary reloads from GOT.
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 9 14:32:10 PST 2017
eugenis added inline comments.
================
Comment at: llvm/test/CodeGen/Thumb2/v8_IT_3.ll:62
+; CHECK-PIC-NEXT: cmpeq
+; CHECK-PIC-NEXT: beq
; CHECK-PIC: %bb6
----------------
This new code is the load from %bb moved to the end of %entry under condition of %tmp1 == 1. This is made possible by this change, because %entry has address of G at GOT precomputed and the second load is just one instruction.
Repository:
rL LLVM
https://reviews.llvm.org/D39871
More information about the llvm-commits
mailing list