diff options
author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2016-08-03 15:06:18 +0000 |
---|---|---|
committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2016-08-03 15:06:18 +0000 |
commit | ed4e7827bbddd281a8241b603a5825f7842ba1de (patch) | |
tree | 90fc294017f6573343b0b2601bf21bbb34b49fb6 /clang/unittests/Tooling/RefactoringTest.cpp | |
parent | c9d9b31ba70f330a7e736926ff5253e5c2793999 (diff) | |
download | llvm-ed4e7827bbddd281a8241b603a5825f7842ba1de.zip llvm-ed4e7827bbddd281a8241b603a5825f7842ba1de.tar.gz llvm-ed4e7827bbddd281a8241b603a5825f7842ba1de.tar.bz2 |
[Hexagon] Do not check alignment for unsized types in isLegalAddressingMode
When the same base address is used to load two different data types, LSR
would assume a memory type of "void". This type is not sized and has no
alignment information. Checking for it causes a crash.
llvm-svn: 277601
Diffstat (limited to 'clang/unittests/Tooling/RefactoringTest.cpp')
0 files changed, 0 insertions, 0 deletions