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

Tom Rix via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 24 11:07:05 PDT 2015


trixirt created this revision.
trixirt added a reviewer: hfinkel.
trixirt added a subscriber: llvm-commits.

cntlz is the old POWER mnemonic.
cntlzw is the PowerPC mnemonic.

This change fixes an issue when -no-integrated-as is used.
The opcode cntlz is unrecognized by gas

Change PowerPC tests to reflect the insn change from cntlz to cntlzw.

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.35656.patch
Type: text/x-patch
Size: 4515 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150924/53c9233b/attachment.bin>


More information about the llvm-commits mailing list