mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
ARM: fix more cases where predication may or may not be allowed
Unfortunately this addresses two issues (by the time I'd disentangled the logic it wasn't worth putting it back to half-broken): + Coprocessor instructions should all be predicable in Thumb mode. + BKPT should never be predicable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184965 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1230,8 +1230,9 @@ class T2JTI<dag oops, dag iops, InstrItinClass itin,
|
||||
: Thumb2XI<oops, iops, AddrModeNone, 0, itin, asm, "", pattern>;
|
||||
|
||||
// Move to/from coprocessor instructions
|
||||
class T2Cop<bits<4> opc, dag oops, dag iops, string asm, list<dag> pattern>
|
||||
: T2XI <oops, iops, NoItinerary, asm, pattern>, Requires<[IsThumb2]> {
|
||||
class T2Cop<bits<4> opc, dag oops, dag iops, string opcstr, string asm,
|
||||
list<dag> pattern>
|
||||
: T2I <oops, iops, NoItinerary, opcstr, asm, pattern>, Requires<[IsThumb2]> {
|
||||
let Inst{31-28} = opc;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user