mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
CMP and TST define CPSR, not use it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76489 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -351,7 +351,7 @@ multiclass T2I_sh_ir<string opc, PatFrag opnode> {
|
|||||||
/// T21_cmp_irs - Defines a set of (op r, {so_imm|r|so_reg}) cmp / test
|
/// T21_cmp_irs - Defines a set of (op r, {so_imm|r|so_reg}) cmp / test
|
||||||
/// patterns. Similar to T2I_bin_irs except the instruction does not produce
|
/// patterns. Similar to T2I_bin_irs except the instruction does not produce
|
||||||
/// a explicit result, only implicitly set CPSR.
|
/// a explicit result, only implicitly set CPSR.
|
||||||
let Uses = [CPSR] in {
|
let Defs = [CPSR] in {
|
||||||
multiclass T2I_cmp_is<string opc, PatFrag opnode> {
|
multiclass T2I_cmp_is<string opc, PatFrag opnode> {
|
||||||
// shifted imm
|
// shifted imm
|
||||||
def ri : T2I<(outs), (ins GPR:$lhs, t2_so_imm:$rhs),
|
def ri : T2I<(outs), (ins GPR:$lhs, t2_so_imm:$rhs),
|
||||||
|
Reference in New Issue
Block a user