[bpf] Do not expand UNDEF SDNode during insn selection lowering
[oota-llvm.git] / lib / Target / BPF / BPFISelLowering.cpp
index 42e2b3f32c0c0d1fbc4add2951a7d9f157b72385..73418283d9bf6b38479bcddad786634cfdf465a8 100644 (file)
@@ -129,9 +129,6 @@ BPFTargetLowering::BPFTargetLowering(const TargetMachine &TM,
   setOperationAction(ISD::SUBC, MVT::i64, Expand);
   setOperationAction(ISD::SUBE, MVT::i64, Expand);
 
-  // no UNDEF allowed
-  setOperationAction(ISD::UNDEF, MVT::i64, Expand);
-
   setOperationAction(ISD::ROTR, MVT::i64, Expand);
   setOperationAction(ISD::ROTL, MVT::i64, Expand);
   setOperationAction(ISD::SHL_PARTS, MVT::i64, Expand);