]> granicus.if.org Git - llvm/commitdiff
Fixed masked gather/scatter switch-case
authorElena Demikhovsky <elena.demikhovsky@intel.com>
Wed, 29 Apr 2015 08:38:53 +0000 (08:38 +0000)
committerElena Demikhovsky <elena.demikhovsky@intel.com>
Wed, 29 Apr 2015 08:38:53 +0000 (08:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236092 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

index 8a0043b4d32ae79e3fe1df7631f0266c58aa05a4..08bdccdeb079bb68eeb6f73b6da626da65523767 100644 (file)
@@ -4385,11 +4385,13 @@ SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I, unsigned Intrinsic) {
 
   case Intrinsic::masked_gather:
     visitMaskedGather(I);
+    return nullptr;
   case Intrinsic::masked_load:
     visitMaskedLoad(I);
     return nullptr;
   case Intrinsic::masked_scatter:
     visitMaskedScatter(I);
+    return nullptr;
   case Intrinsic::masked_store:
     visitMaskedStore(I);
     return nullptr;