[LLVMdev] Thumb categorizing TST wrongly
Gabor Greif
gabor at mac.com
Tue Sep 14 12:09:15 PDT 2010
I see strangeness on Thumb TST (tTST) predicate 'isCompare'
It is true for regular ARM, false for Thumb:
(gdb) p MI->dump()
TSTri %reg16397, 3, pred:14, pred:%reg0, %CPSR<imp-def>; GPR:%
reg16397
$24 = void
(gdb) p MI->getDesc().isCompare()
$25 = true
(gdb) p MI->dump()
tTST %reg16396, %reg16397, pred:14, pred:%reg0, %CPSR<imp-def>;
tGPR:%reg16396,16397
$22 = void
(gdb) p MI->getDesc().isCompare()
$23 = false
Is this intentional or just an oversight? In latter case how do I fix
it? Tablegen input?
Thanks and cheers,
Gabor
More information about the llvm-dev
mailing list