diff options
author | Akira Hatanaka <ahatanaka@apple.com> | 2019-02-08 19:46:53 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@apple.com> | 2019-02-08 19:46:53 +0000 |
commit | 67b1b451b5f44e4c069735d55266d5153c6544fc (patch) | |
tree | c3df4c0a35d21d5a162cbcce483cc5960c8e359f /llvm/lib/Transforms/Utils/LoopSimplify.cpp | |
parent | be4cbe87268dc7962ca08b9af9b79b51cbdf69a0 (diff) | |
download | llvm-67b1b451b5f44e4c069735d55266d5153c6544fc.zip llvm-67b1b451b5f44e4c069735d55266d5153c6544fc.tar.gz llvm-67b1b451b5f44e4c069735d55266d5153c6544fc.tar.bz2 |
Pass the base element type of an array type to the visit method instead
of the array type itself.
This fixes a bug found by inspection that was introduced in r353459. I
don't have a test case for this since we don't yet have types that would
make the containing C struct non-trivial to copy/move but wouldn't make
it non-trivial to default-initialize or destruct.
llvm-svn: 353556
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopSimplify.cpp')
0 files changed, 0 insertions, 0 deletions