diff options
| author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2013-07-08 14:49:37 +0000 |
|---|---|---|
| committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2013-07-08 14:49:37 +0000 |
| commit | 9e5bbeab1f6f79375c24bfab87c28f5f4c5afea1 (patch) | |
| tree | d7794fe873c7671e16701d0c7e323890948ed638 /lib/Bitcode/Reader/BitstreamReader.cpp | |
| parent | a012a666888ddd92858eda808af480a01f34bd1e (diff) | |
| download | llvm-9e5bbeab1f6f79375c24bfab87c28f5f4c5afea1.tar.gz llvm-9e5bbeab1f6f79375c24bfab87c28f5f4c5afea1.tar.bz2 llvm-9e5bbeab1f6f79375c24bfab87c28f5f4c5afea1.tar.xz | |
[PowerPC] Support basic compare mnemonics
This adds support for the basic mnemoics (with the L operand) for the
fixed-point compare instructions. These are defined as aliases for the
already existing CMPW/CMPD patterns, depending on the value of L.
This requires use of InstAlias patterns with immediate literal operands.
To make this work, we need two further changes:
- define a RegisterPrefix, because otherwise literals 0 and 1 would
be parsed as literal register names
- provide a PPCAsmParser::validateTargetOperandClass routine to
recognize immediate literals (like ARM does)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185826 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitstreamReader.cpp')
0 files changed, 0 insertions, 0 deletions
