aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2018-08-11 04:18:05 +0000
committerRichard Trieu <rtrieu@google.com>2018-08-11 04:18:05 +0000
commit01f99f3cd67bb51a9fc18aa95dc73be20a22288d (patch)
treee755d2d50cada60aeade6f6df3db9e7dcbe7a798 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parent9b6cd711d6dbaffe14664a03b928631f01ace24a (diff)
downloadllvm-01f99f3cd67bb51a9fc18aa95dc73be20a22288d.zip
llvm-01f99f3cd67bb51a9fc18aa95dc73be20a22288d.tar.gz
llvm-01f99f3cd67bb51a9fc18aa95dc73be20a22288d.tar.bz2
Fix WebAssembly instruction printer after r339474
Treat the stack variants of control instructions the same as regular instructions. Otherwise, the vector ControlFlowStack will be the wrong size and have out-of-bounds access. This was detected by MemorySanitizer. llvm-svn: 339495
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions