[PATCH] D20571: [BPF] Remove exit-on-error flag in test (PR27767)

Diana Picus via llvm-commits llvm-commits at lists.llvm.org
Thu May 26 08:30:15 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL270855: [BPF] Remove exit-on-error flag in test (PR27767) (authored by rovka).

Changed prior to commit:
  http://reviews.llvm.org/D20571?vs=58402&id=58617#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D20571

Files:
  llvm/trunk/lib/Target/BPF/BPFISelLowering.cpp
  llvm/trunk/test/CodeGen/BPF/many_args2.ll

Index: llvm/trunk/test/CodeGen/BPF/many_args2.ll
===================================================================
--- llvm/trunk/test/CodeGen/BPF/many_args2.ll
+++ llvm/trunk/test/CodeGen/BPF/many_args2.ll
@@ -1,4 +1,4 @@
-; RUN: not llc -march=bpf -exit-on-error < %s 2> %t1
+; RUN: not llc -march=bpf < %s 2> %t1
 ; RUN: FileCheck %s < %t1
 ; CHECK: too many args
 
Index: llvm/trunk/lib/Target/BPF/BPFISelLowering.cpp
===================================================================
--- llvm/trunk/lib/Target/BPF/BPFISelLowering.cpp
+++ llvm/trunk/lib/Target/BPF/BPFISelLowering.cpp
@@ -199,6 +199,7 @@
       }
     } else {
       fail(DL, DAG, "defined with too many args");
+      InVals.push_back(DAG.getConstant(0, DL, VA.getLocVT()));
     }
   }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20571.58617.patch
Type: text/x-patch
Size: 765 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160526/369d0433/attachment.bin>


More information about the llvm-commits mailing list