[all-commits] [llvm/llvm-project] 794dc7: [CodeGen] Split MVT::changeTypeToInteger() functio...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Oct 22 06:28:43 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 794dc7ad26c21064a282046277bdb53c8d9690d5
      https://github.com/llvm/llvm-project/commit/794dc7ad26c21064a282046277bdb53c8d9690d5
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-10-22 (Thu, 22 Oct 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/ValueTypes.h
    M llvm/include/llvm/Support/MachineValueType.h
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [CodeGen] Split MVT::changeTypeToInteger() functionality from EVT::changeTypeToInteger().

Add the MVT equivalent handling for EVT changeTypeToInteger/changeVectorElementType/changeVectorElementTypeToInteger.

All the SimpleVT code already exists inside the EVT equivalents, but by splitting this out we can use these directly inside MVT types without converting to/from EVT.




More information about the All-commits mailing list