[CodeGen] Bitcast scalar writes to actual value.
commit1c3918f7632e013976b85c44586c43a50aeefd7f
authorMichael Kruse <llvm@meinersbur.de>
Thu, 7 Sep 2017 12:15:01 +0000 (7 12:15 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Thu, 7 Sep 2017 12:15:01 +0000 (7 12:15 +0000)
treea59bb2cff88fb70d4dae96e997161caf783f6045
parent7cabaa49c00840d44cb3ba3e5826c25090c38495
[CodeGen] Bitcast scalar writes to actual value.

The type of NewValue might change due to ScalarEvolution
looking though bitcasts. The synthesized NewValue therefore
becomes the type before the bitcast.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@312718 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/BlockGenerators.cpp
test/Isl/CodeGen/scev_looking_through_bitcasts.ll [new file with mode: 0644]