diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2017-08-31 23:06:52 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2017-08-31 23:06:52 +0000 |
commit | 5372fb8cc1abe6e6b1619beb8722b4596a61200e (patch) | |
tree | 34980dd1b825463a1554f9af1268efd43df30f5a /llvm/lib/Object/WasmObjectFile.cpp | |
parent | a865658a74e03c0547f37a4bf9a46e13d9d1b97b (diff) | |
download | llvm-5372fb8cc1abe6e6b1619beb8722b4596a61200e.zip llvm-5372fb8cc1abe6e6b1619beb8722b4596a61200e.tar.gz llvm-5372fb8cc1abe6e6b1619beb8722b4596a61200e.tar.bz2 |
[OPENMP] Fix for PR34398: assert with random access iterator if the
step>1.
If the loop is a loot with random access iterators and the iteration
construct is represented it += n, then the compiler crashed because of
reusing of the same MaterializedTemporaryExpr around N. Patch fixes it
by using the expression as written, without any special kind of
wrappings.
llvm-svn: 312292
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions