diff options
author | Sanjay Patel <spatel@rotateright.com> | 2018-12-05 23:09:33 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2018-12-05 23:09:33 +0000 |
commit | 998ececef0e28adc96edea5a288fd76c1f56187e (patch) | |
tree | 649c0df59135f03bdd641b56a4360e890394ae7f /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 4ae3b71df002a3f71ae28cb5406535714f17673a (diff) | |
download | llvm-998ececef0e28adc96edea5a288fd76c1f56187e.zip llvm-998ececef0e28adc96edea5a288fd76c1f56187e.tar.gz llvm-998ececef0e28adc96edea5a288fd76c1f56187e.tar.bz2 |
[InstCombine] remove dead code from visitExtractElement
Extracting from a splat constant is always handled by InstSimplify.
Move the test for this from InstCombine to InstSimplify to make
sure that stays true.
llvm-svn: 348423
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions