[iovisor-dev] [PATCH v2 2/5] BPF: Rearrange instruction classes

Alexei Starovoitov via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 24 09:49:57 PDT 2016


On Thu, Jun 23, 2016 at 3:52 PM, Richard Henderson via iovisor-dev
<iovisor-dev at lists.iovisor.org> wrote:
> Avoid duplicating lots of field definitions.
>
> Signed-off-by: Richard Henderson <rth at twiddle.net>
> ---
>  lib/Target/BPF/BPFInstrFormats.td |  39 ++-
>  lib/Target/BPF/BPFInstrInfo.td    | 536 +++++++++++++++-----------------------
>  2 files changed, 243 insertions(+), 332 deletions(-)

it broke the tests:
Failing Tests (6):
    LLVM :: CodeGen/BPF/cc_args.ll
    LLVM :: CodeGen/BPF/cc_args_be.ll
    LLVM :: CodeGen/BPF/cc_ret.ll
    LLVM :: CodeGen/BPF/ex1.ll
    LLVM :: CodeGen/BPF/intrinsics.ll
    LLVM :: CodeGen/BPF/sanity.ll

all seems to be failing with similar error:
$ ./bin/llvm-lit -v ../test/CodeGen/BPF/sanity.ll
LLVM ERROR: Cannot select: 0x17572a0: i64 = Constant<729618802566522216>

will try to debug soon, but I'm traveling to a conference and will be
slow to respond.


More information about the llvm-commits mailing list