summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2015-10-28 03:26:45 +0000
committerHal Finkel <hfinkel@anl.gov>2015-10-28 03:26:45 +0000
commitf4052340a4861ad2ffb516d21426b6506950770f (patch)
treec0e5365cac577264918b830aecf171bbcaaadcab /llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
parent3ef1e689c9c72da61d79b5df324d46372e9ea439 (diff)
downloadbcm5719-llvm-f4052340a4861ad2ffb516d21426b6506950770f.tar.gz
bcm5719-llvm-f4052340a4861ad2ffb516d21426b6506950770f.zip
[PowerPC] Replace cntlz[.] with cntlzw[.]
cntlz is the old POWER mnemonic. cntlzw is the PowerPC mnemonic. This change fixes an issue when -no-integrated-as: The opcode cntlz is unrecognized by gas Alias the POWER mnemonic cntlz[.] to the PowerPC mnemonic cntlzw[.] This is done for because the POWER cntlz mnemonic has be used by LLVM for a very long time. We need to make sure that assembly programs that are using the cntlz[.] do not break with this change. Change PowerPC tests to reflect the insn change from cntlz to cntlzw. Add assembly test to verify cntlz[.] is encoded correctly. Patch by Tom Rix! llvm-svn: 251489
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud