[PATCH] D13142: [PowerPC] Replace cntlz[.] with cntlzw[.]
hfinkel@anl.gov via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 28 01:09:44 PDT 2015
hfinkel accepted this revision.
hfinkel added a comment.
This revision is now accepted and ready to land.
LGTM.
================
Comment at: lib/Target/PowerPC/PPCInstrInfo.td:3888
@@ +3887,3 @@
+def : InstAlias<"cntlzw. $rA, $rS", (CNTLZWo gprc:$rA, gprc:$rS)>;
+// The POWER variant
+def : MnemonicAlias<"cntlz", "cntlzw">;
----------------
I'd specifically mention in the comment that the reason we're supporting this particular POWER alias is because LLVM used only this form for many years.
http://reviews.llvm.org/D13142
More information about the llvm-commits
mailing list