diff options
author | Igor Laevsky <igmyrj@gmail.com> | 2017-12-12 10:03:39 +0000 |
---|---|---|
committer | Igor Laevsky <igmyrj@gmail.com> | 2017-12-12 10:03:39 +0000 |
commit | d63560b8179d4dca1bce0dfa62888ec1eef32e6d (patch) | |
tree | 5c7c7e565f4742497aa73f4af4647c21fe311ff3 /llvm/lib/Transforms | |
parent | f4ceb77cd98cb5da71f928826a6f309801f6ccc4 (diff) | |
download | bcm5719-llvm-d63560b8179d4dca1bce0dfa62888ec1eef32e6d.tar.gz bcm5719-llvm-d63560b8179d4dca1bce0dfa62888ec1eef32e6d.zip |
Revert r320049, r320014 and r319894
They were causing failures of the piglit OpenGL tests with AMD GPUs using the
Mesa radeonsi driver.
llvm-svn: 320466
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp b/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp index 65a96b96522..6c99007475c 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp @@ -781,10 +781,6 @@ Instruction *InstCombiner::visitInsertElementInst(InsertElementInst &IE) { Value *ScalarOp = IE.getOperand(1); Value *IdxOp = IE.getOperand(2); - if (auto *V = SimplifyInsertElementInst( - VecOp, ScalarOp, IdxOp, SQ.getWithInstruction(&IE))) - return replaceInstUsesWith(IE, V); - // Inserting an undef or into an undefined place, remove this. if (isa<UndefValue>(ScalarOp) || isa<UndefValue>(IdxOp)) replaceInstUsesWith(IE, VecOp); |