diff options
author | Artem Belevich <tra@google.com> | 2018-02-09 18:37:55 +0000 |
---|---|---|
committer | Artem Belevich <tra@google.com> | 2018-02-09 18:37:55 +0000 |
commit | d75805e0e90366326a946a8c28174beae06b7f88 (patch) | |
tree | cfacdde18428d7056c241fae7ec64de5c0034580 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 33ba93c2b5e6fd8a4d9663a9b50ace9e104ef50d (diff) | |
download | llvm-d75805e0e90366326a946a8c28174beae06b7f88.zip llvm-d75805e0e90366326a946a8c28174beae06b7f88.tar.gz llvm-d75805e0e90366326a946a8c28174beae06b7f88.tar.bz2 |
[tablegen] Fixed few !foreach evaluation issues.
* !foreach on lists didn't evaluate operands of the RHS operator.
This made nested operators silently fail.
* A typo in the code could result in a wrong value substituted
for an operation which produced a false '!foreach requires an operator' error.
* Keep recursion over the DAG within ForeachHelper. This simplifies
things a bit as we no longer need to pass the Type around in order
to prevent recursion.
Differential Revision: https://reviews.llvm.org/D43083
llvm-svn: 324758
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions