diff options
author | Hal Finkel <hfinkel@anl.gov> | 2015-10-28 03:26:45 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2015-10-28 03:26:45 +0000 |
commit | f4052340a4861ad2ffb516d21426b6506950770f (patch) | |
tree | c0e5365cac577264918b830aecf171bbcaaadcab /llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp | |
parent | 3ef1e689c9c72da61d79b5df324d46372e9ea439 (diff) | |
download | bcm5719-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