aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2020-06-24 19:46:31 -0700
committerCraig Topper <craig.topper@intel.com>2020-06-24 20:15:21 -0700
commita5041987eddc21d37345d055cb7a51b3eb5ee698 (patch)
tree3fc9d35419cb2593c1a12233ee88d367bfecde6f /clang/lib/Frontend/CompilerInvocation.cpp
parent6036bf53090e03537f7d06a8daecda84a72a9bc9 (diff)
downloadllvm-a5041987eddc21d37345d055cb7a51b3eb5ee698.zip
llvm-a5041987eddc21d37345d055cb7a51b3eb5ee698.tar.gz
llvm-a5041987eddc21d37345d055cb7a51b3eb5ee698.tar.bz2
[X86] Emit a reg-reg copy for fast isel of vector bitcasts.
Previously we just updated a map and moved on. But it possible we cached known bits information with the vreg that can be used by another basic block. If the other basic block has a different view of the VT these known bits won't make sense. By emitting a copy we ensure we have different vregs before and after the bitcast. This prevents the known bits from being used with the wrong type. Differential Revision: https://reviews.llvm.org/D82517
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions