[llvm-exegesis] Fix PR39021.
authorClement Courbet <courbet@google.com>
Mon, 24 Sep 2018 08:39:48 +0000 (08:39 +0000)
committerClement Courbet <courbet@google.com>
Mon, 24 Sep 2018 08:39:48 +0000 (08:39 +0000)
commit1e8fdbe3c300489af9f30610e317348b565ce103
tree3c94f0be8f4c1d46ad36a0fdc1fada6317b3091d
parentcd23593f02db0decfa5af016b51f725c5d290d02
[llvm-exegesis] Fix PR39021.

Summary:
The `set` statements was incorrectly reading the value of the local variable and
setting the value of the parent variable.

Reviewers: tycho, gchatelet, john.brawn

Subscribers: mgorny, tschuett, llvm-commits

Differential Revision: https://reviews.llvm.org/D52343

llvm-svn: 342865
llvm/tools/llvm-exegesis/lib/CMakeLists.txt