[all-commits] [llvm/llvm-project] 0a714e: [ARM] Correct type of setcc results for FP vectors

David Green via All-commits all-commits at lists.llvm.org
Wed Jun 16 03:11:27 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a714eaa51d0ef6390cba89d75b7790405dd776b
      https://github.com/llvm/llvm-project/commit/0a714eaa51d0ef6390cba89d75b7790405dd776b
  Author: David Green <david.green at arm.com>
  Date:   2021-06-16 (Wed, 16 Jun 2021)

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

  Log Message:
  -----------
  [ARM] Correct type of setcc results for FP vectors

Under MVE v4f32 and v8f16 vectors should be using v4i1/v8i1 predicates
for the setcc result type, as they have predicated registers for those
types. Setting this correctly prevents some inefficient optimizations
from happening.




More information about the All-commits mailing list