[all-commits] [llvm/llvm-project] f269bb: [ARM] Fix crash trying to generate i1 immediates

David Green via All-commits all-commits at lists.llvm.org
Tue Jun 16 04:36:21 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f269bb7da0162f7171395071a59ec7584318383e
      https://github.com/llvm/llvm-project/commit/f269bb7da0162f7171395071a59ec7584318383e
  Author: David Green <david.green at arm.com>
  Date:   2020-06-16 (Tue, 16 Jun 2020)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/test/CodeGen/Thumb2/mve-vmovimm.ll

  Log Message:
  -----------
  [ARM] Fix crash trying to generate i1 immediates

These code patterns attempt to call isVMOVModifiedImm on a splat of i1
values, leading to an unreachable being hit. I've guarded the call on a
more specific set of sizes, as i1 vectors are legal under MVE.

Differential Revision: https://reviews.llvm.org/D81860




More information about the All-commits mailing list