summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCISelLowering.h
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>2016-09-14 14:19:09 +0000
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>2016-09-14 14:19:09 +0000
commitd5deb4896cdba2f7e3b2d4a61f7b17954f4afd7f (patch)
tree41e785d7ac86a1982acc2ad1a9e1ce8d86cc38f5 /llvm/lib/Target/PowerPC/PPCISelLowering.h
parente8e1af364992e9104946106f6ac1d80956ab6d38 (diff)
downloadbcm5719-llvm-d5deb4896cdba2f7e3b2d4a61f7b17954f4afd7f.tar.gz
bcm5719-llvm-d5deb4896cdba2f7e3b2d4a61f7b17954f4afd7f.zip
Fix code-gen crash on Power9 for insert_vector_elt with variable index (PR30189)
This patch corresponds to review: https://reviews.llvm.org/D24021 In the initial implementation of this instruction, I forgot to account for variable indices. This patch fixes PR30189 and should probably be merged into 3.9.1 (I'll open a bug according to the new instructions). llvm-svn: 281479
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPCISelLowering.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.h b/llvm/lib/Target/PowerPC/PPCISelLowering.h
index 8b1c22b6bcd..83a7a3faf36 100644
--- a/llvm/lib/Target/PowerPC/PPCISelLowering.h
+++ b/llvm/lib/Target/PowerPC/PPCISelLowering.h
@@ -849,6 +849,7 @@ namespace llvm {
SDValue LowerSRA_PARTS(SDValue Op, SelectionDAG &DAG) const;
SDValue LowerBUILD_VECTOR(SDValue Op, SelectionDAG &DAG) const;
SDValue LowerVECTOR_SHUFFLE(SDValue Op, SelectionDAG &DAG) const;
+ SDValue LowerINSERT_VECTOR_ELT(SDValue Op, SelectionDAG &DAG) const;
SDValue LowerEXTRACT_VECTOR_ELT(SDValue Op, SelectionDAG &DAG) const;
SDValue LowerINTRINSIC_WO_CHAIN(SDValue Op, SelectionDAG &DAG) const;
SDValue LowerSCALAR_TO_VECTOR(SDValue Op, SelectionDAG &DAG) const;
OpenPOWER on IntegriCloud