aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorHubert Tong <hubert.reinterpretcast@gmail.com>2020-10-01 15:46:26 -0400
committerHubert Tong <hubert.reinterpretcast@gmail.com>2020-10-01 15:57:01 -0400
commit35ecc7fe49ba881a77e8146b51870a60a52b211f (patch)
treeb307740a4b0174a90fe2e9de708ce2f5c5486dbd /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent88f2fe5cad6cc3a3830448cb8a88b52ee449f2d1 (diff)
downloadllvm-35ecc7fe49ba881a77e8146b51870a60a52b211f.zip
llvm-35ecc7fe49ba881a77e8146b51870a60a52b211f.tar.gz
llvm-35ecc7fe49ba881a77e8146b51870a60a52b211f.tar.bz2
[clang][Sema] Fix PR47676: Handle dependent AltiVec C-style cast
Fix premature decision in the presence of type-dependent expression operands on whether AltiVec vector initializations from single expressions are "splat" operations. Verify that the instantiation is able to determine the correct cast semantics for both the scalar type and the vector type case. Note that, because the change only affects the single-expression case (and the target type is an AltiVec-style vector type), the replacement of a parenthesized list with a parenthesized expression does not change the semantics of the program in a program-observable manner. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D88526
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions