diff options
author | Siddharth Bhat <siddu.druid@gmail.com> | 2017-08-01 12:15:51 +0000 |
---|---|---|
committer | Siddharth Bhat <siddu.druid@gmail.com> | 2017-08-01 12:15:51 +0000 |
commit | f2cfd2a4db0553bb12ce8bacf0f204a7332df4a5 (patch) | |
tree | a8e59536abe8702fc4dfeba81921cf3b97172aa5 /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp | |
parent | 69e90bb096a6adda37991f85077cdeb903d1a58c (diff) | |
download | bcm5719-llvm-f2cfd2a4db0553bb12ce8bacf0f204a7332df4a5.tar.gz bcm5719-llvm-f2cfd2a4db0553bb12ce8bacf0f204a7332df4a5.zip |
[NFC] [IslNodeBuilder, GPUNodeBuilder] Unify mechanism for looking up replacement Values.
We populate `IslNodeBuilder::ValueMap` which contains replacements for
`llvm::Value`s. There was no simple method to pick up a replacement if
it exists, otherwise fall back to the original.
Create a method `IslNodeBuilder::getLatestValue` which provides this
functionality.
This will be used in a later patch to fix bugs in `PPCGCodeGeneration`
where the latest value is not being used.
Differential Revision: https://reviews.llvm.org/D36000
llvm-svn: 309674
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions