[PATCH] [PowerPC] Yet another approach to __tls_get_addr

hfinkel at anl.gov hfinkel at anl.gov
Mon Feb 2 18:03:50 PST 2015


================
Comment at: lib/Target/PowerPC/PPCInstr64Bit.td:905
@@ +904,3 @@
+let Defs = [LR8] in {
+def GETtlsADDR : Pseudo<(outs g8rc:$rD), (ins g8rc:$reg, tlsgd:$sym),
+                        "#GETtlsADDR",
----------------
To follow-up on the IRC messages I missed, to keep the anti-dep breaker from disturbing the r3 assignments, you'll probably want to set let hasExtraSrcRegAllocReq = 1, and/or hasExtraDefRegAllocReq = 1 here (and on the other pseudos in this patch).

http://reviews.llvm.org/D7350

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list