[PATCH] D61935: Fixes PPC64 Tbegin disassembling

Jinsong Ji via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 30 14:21:20 PDT 2019


jsji requested changes to this revision.
jsji added a comment.
This revision now requires changes to proceed.

Please make sure you build and test before updating patch. Thanks.



================
Comment at: lib/Target/PowerPC/PPCInstrHTM.td:78
 
+let Defs = [CRRC] in
 def TRECLAIM : XForm_base_r3xo <31, 942,
----------------
You can NOT assign `CRRC` to `Defs`. 
```
error: Value 'Defs' of type 'list<Register>' is incompatible with initializer '[CRRC]' of type 'list<RegisterClass>'
```

Use `CR0` too, in UM, `treclaim` is altering CR0, it was a bug to use `CRRC` too.



CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61935/new/

https://reviews.llvm.org/D61935





More information about the llvm-commits mailing list