summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2017-08-15 13:50:09 +0000
committerDaniel Sanders <daniel_l_sanders@apple.com>2017-08-15 13:50:09 +0000
commit16e6dd3cd674a60f2fe2b3d9f0d649432b41ce77 (patch)
tree5df32b4fe4400a9ce258e584df1dde5efcc47f56 /clang/lib/Frontend/InitPreprocessor.cpp
parent36f4d8044b2fb2ccd93f655eeddc691057b9ab73 (diff)
downloadbcm5719-llvm-16e6dd3cd674a60f2fe2b3d9f0d649432b41ce77.tar.gz
bcm5719-llvm-16e6dd3cd674a60f2fe2b3d9f0d649432b41ce77.zip
Re-commit with some instrumentation: [globalisel][tablegen] Support zero-instruction emission.
Summary: Support the case where an operand of a pattern is also the whole of the result pattern. In this case the original result and all its uses must be replaced by the operand. However, register class restrictions can require a COPY. This patch handles both cases by always emitting the copy and leaving it for the register allocator to optimize. The previous commit failed on the windows bots and this one is likely to fail on those same bots. However, the added instrumentation should reveal a particular isHigherPriorityThan() evaluation which I'm expecting to expose that these machines are weighing priority of two rules differently from the non-windows machines. Reviewers: ab, t.p.northover, qcolombet, rovka, aditya_nandakumar Subscribers: javed.absar, kristof.beyls, igorb, llvm-commits Differential Revision: https://reviews.llvm.org/D36084 llvm-svn: 310919
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud