diff options
| author | Philip Pfaffe <philip.pfaffe@gmail.com> | 2017-10-29 21:36:34 +0000 |
|---|---|---|
| committer | Philip Pfaffe <philip.pfaffe@gmail.com> | 2017-10-29 21:36:34 +0000 |
| commit | 53c803871ef355d7caee38d9ef2c913b51215a89 (patch) | |
| tree | da32069c33c151df23a115fa04c6a43ec5970cef /llvm/lib/Support/Path.cpp | |
| parent | aa65159b0ada2a0dec15fa1136f547b2c22d7d41 (diff) | |
| download | bcm5719-llvm-53c803871ef355d7caee38d9ef2c913b51215a89.tar.gz bcm5719-llvm-53c803871ef355d7caee38d9ef2c913b51215a89.zip | |
[Acc] Do not statically dispatch into IslNodeBuilder's createFor
Summary:
When GPUNodeBuilder creates loops inside the kernel, it dispatches to
IslNodeBuilder. This however is surprisingly dangerous, since it accesses the
AST Node's user through the wrong type. This patch fixes this problem by
overriding createFor correctly.
This fixes PR35010.
Reviewers: grosser, bollu, Meinersbur
Reviewed By: Meinersbur
Subscribers: Meinersbur, nemanjai, pollydev, llvm-commits, kbarton
Differential Revision: https://reviews.llvm.org/D39364
llvm-svn: 316872
Diffstat (limited to 'llvm/lib/Support/Path.cpp')
0 files changed, 0 insertions, 0 deletions

