aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2016-02-06 21:23:39 +0000
committerTobias Grosser <tobias@grosser.es>2016-02-06 21:23:39 +0000
commit107cd5f5f63602796cd825858bf8dfcdf53fdce2 (patch)
tree0c0edd06c7c558881952a03274181966ff6810fe /clang/lib/CodeGen/CodeGenModule.cpp
parent672808a853399b83cd308bbd73930b90a10db0de (diff)
downloadllvm-107cd5f5f63602796cd825858bf8dfcdf53fdce2.zip
llvm-107cd5f5f63602796cd825858bf8dfcdf53fdce2.tar.gz
llvm-107cd5f5f63602796cd825858bf8dfcdf53fdce2.tar.bz2
IslNodeBuilder: Invariant load hoisting of elements with differing sizes
Always use access-instruction pointer type to load the invariant values. Otherwise mismatches between ScopArrayInfo element type and memory access element type will result in invalid casts. These type mismatches are after r259784 a lot more common and also arise with types of different size, which have not been handled before. Interestingly, this change actually simplifies the code, as we now have only one code path that is always taken, rather then a standard code path for the common case and a "fixup" code path that replaces the standard code path in case of mismatching types. llvm-svn: 260009
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions