diff options
author | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2019-07-03 17:16:45 +0000 |
---|---|---|
committer | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2019-07-03 17:16:45 +0000 |
commit | 83bbe2f418859ea1ae00c2918923b97dc6647a44 (patch) | |
tree | 80daa7e361bb5d085e52c9c91eb47503626aa13c /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | 26812c7675d02ec789adbd925a6ab12c3adf7577 (diff) | |
download | bcm5719-llvm-83bbe2f418859ea1ae00c2918923b97dc6647a44.tar.gz bcm5719-llvm-83bbe2f418859ea1ae00c2918923b97dc6647a44.zip |
[CodeGen] Make branch funnels pass the machine verifier
We previously marked all the tests with branch funnels as
`-verify-machineinstrs=0`.
This is an attempt to fix it.
1) `ICALL_BRANCH_FUNNEL` has no defs. Mark it as `let OutOperandList =
(outs)`
2) After that we hit an assert: ``` Assertion failed: (Op.getValueType()
!= MVT::Other && Op.getValueType() != MVT::Glue && "Chain and glue
operands should occur at end of operand list!"), function AddOperand,
file
/Users/francisvm/llvm/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp,
line 461. ```
The chain operand was added at the beginning of the operand list. Move
that to the end.
3) After that we hit another verifier issue in the pseudo expansion
where the registers used in the cmps and jmps are not added to the
livein lists. Add the `EFLAGS` to all the new MBBs that we create.
PR39436
Differential Review: https://reviews.llvm.org/D54155
llvm-svn: 365058
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions