diff options
author | Zhan Jun Liau <zhanjunl@ca.ibm.com> | 2016-06-28 21:03:19 +0000 |
---|---|---|
committer | Zhan Jun Liau <zhanjunl@ca.ibm.com> | 2016-06-28 21:03:19 +0000 |
commit | 347db3e18ee7375cf038a8173880466fd0fe6312 (patch) | |
tree | 2e8d8a0d835570af697ceba4ffbe3ccba2ee081e /llvm/unittests/Support/CommandLineTest.cpp | |
parent | 0fecee9cd8af1de3b103ca7c6dec054bedbca035 (diff) | |
download | llvm-347db3e18ee7375cf038a8173880466fd0fe6312.zip llvm-347db3e18ee7375cf038a8173880466fd0fe6312.tar.gz llvm-347db3e18ee7375cf038a8173880466fd0fe6312.tar.bz2 |
[SystemZ] Use NILL instruction instead of NILF where possible
Summary: SystemZ shift instructions only use the last 6 bits of the shift
amount. When the result of an AND operation is used as a shift amount, this
means that we can use the NILL instruction (which operates on the last 16 bits)
rather than NILF (which operates on the last 32 bits) for a 16-bit savings in
instruction size.
Reviewers: uweigand
Subscribers: llvm-commits
Author: colpell
Committing on behalf of Elliot.
Differential Revision: http://reviews.llvm.org/D21686
llvm-svn: 274066
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions