[all-commits] [llvm/llvm-project] 933de4: [TypePromotion] Query target register width

Sam Parker via All-commits all-commits at lists.llvm.org
Tue Dec 10 05:23:19 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 933de40729128be04f1dc24ce12be128ad2eb70c
      https://github.com/llvm/llvm-project/commit/933de40729128be04f1dc24ce12be128ad2eb70c
  Author: Sam Parker <sam.parker at arm.com>
  Date:   2019-12-10 (Tue, 10 Dec 2019)

  Changed paths:
    M llvm/lib/CodeGen/TypePromotion.cpp

  Log Message:
  -----------
  [TypePromotion] Query target register width

TargetLoweringInfo may report that an integer should be promoted, but
it maybe provide a size that isn't natively supported by the target
register file... So check this before trying to perform a promotion.

This is to fix some chromium issues:
https://bugs.chromium.org/p/chromium/issues/detail?id=1031978
https://bugs.chromium.org/p/chromium/issues/detail?id=1031979

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




More information about the All-commits mailing list