mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 06:25:18 +00:00
Add x86 isel patterns to match what would be a ZERO_EXTEND_INREG operation,
which is represented in codegen as an 'and' operation. This matches them with movz instructions, instead of leaving them to be matched by and instructions with an immediate field. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54147 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -377,6 +377,8 @@ namespace ISD {
|
||||
// extending the low 8 bits of a 32-bit register to fill the top 24 bits
|
||||
// with the 7th bit). The size of the smaller type is indicated by the 1th
|
||||
// operand, a ValueType node.
|
||||
// Note that there is intentionally no corresponding ZERO_EXTEND_INREG; an
|
||||
// AND with an appropriate constant is used instead.
|
||||
SIGN_EXTEND_INREG,
|
||||
|
||||
/// FP_TO_[US]INT - Convert a floating point value to a signed or unsigned
|
||||
|
Reference in New Issue
Block a user