[PATCH] D13142: [PowerPC] Replace cntlz[.] with cntlzw[.]

Tom Rix via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 27 09:48:53 PDT 2015


trixirt updated the summary for this revision.
trixirt updated this revision to Diff 35821.
trixirt added a comment.

Added alias back to old cntlz mnemonic.
So old, stand alone assembly programs will still work.

The code generation will only use the PowerPC mnemonic.
No obvious flag to hang the POWER variant off of.

A non llvm program using the generated assembly would break if it only handled the
POWER variant.


http://reviews.llvm.org/D13142

Files:
  lib/Target/PowerPC/PPCInstrInfo.td
  test/CodeGen/PowerPC/cttz.ll
  test/CodeGen/PowerPC/long-compare.ll
  test/CodeGen/PowerPC/seteq-0.ll
  test/MC/Disassembler/PowerPC/ppc64-encoding.txt
  test/MC/Disassembler/PowerPC/ppc64le-encoding.txt
  test/MC/PowerPC/ppc64-encoding.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13142.35821.patch
Type: text/x-patch
Size: 5024 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150927/1d40cf71/attachment.bin>


More information about the llvm-commits mailing list