summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/test/CounterTest.cpp
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2015-05-06 22:09:29 +0000
committerPete Cooper <peter_cooper@apple.com>2015-05-06 22:09:29 +0000
commit54085cdc7b4daf694d85d4de068571e2aeb49923 (patch)
treef8efc32c1e7c4133eb54e43b6582d819bf6dc2db /llvm/lib/Fuzzer/test/CounterTest.cpp
parent30978bb99d5c9fac37d4c56936810179cba371fc (diff)
downloadbcm5719-llvm-54085cdc7b4daf694d85d4de068571e2aeb49923.tar.gz
bcm5719-llvm-54085cdc7b4daf694d85d4de068571e2aeb49923.zip
Fix incorrect kill flags in fastisel.
If called twice in the same BB on the same constant, FastISel::fastEmit_ri_ was marking the materialized vreg as killed on each use, instead of only the last use. Change this to only mark the last use as killed by making earlier uses check if the vreg is already used elsewhere. llvm-svn: 236650
Diffstat (limited to 'llvm/lib/Fuzzer/test/CounterTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud