diff options
author | Sanjay Patel <spatel@rotateright.com> | 2020-12-11 16:18:56 -0500 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2020-12-11 17:23:35 -0500 |
commit | 204bdc5322cc89603d503fb1f02a0eba19a1b496 (patch) | |
tree | 9cc0f8773f6212369edbf1eecc75c8332d9276ec /clang/unittests/Frontend/CompilerInvocationTest.cpp | |
parent | 0d48d265db6633e4e575f81f9d3a52139b1dc5ca (diff) | |
download | llvm-204bdc5322cc89603d503fb1f02a0eba19a1b496.zip llvm-204bdc5322cc89603d503fb1f02a0eba19a1b496.tar.gz llvm-204bdc5322cc89603d503fb1f02a0eba19a1b496.tar.bz2 |
[InstCombine][x86] fix insertion point bug in vector demanded elts fold (PR48476)
This transform was added at:
c63799fc52ff
From what I see, it's the first demanded elements transform that adds
a new instruction using the IRBuilder. There are similar folds in
the generic demanded bits chunk of instcombine that also use the
InsertPointGuard code pattern.
The tests here would assert/crash because the new instruction was
being added at the start of the demanded elements analysis rather
than at the instruction that is being replaced.
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions