[all-commits] [llvm/llvm-project] 7d91d8: [polly] Fix build

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Mar 24 09:47:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d91d81c6b6a456ca2362b691485c8e1b42809dd
      https://github.com/llvm/llvm-project/commit/7d91d81c6b6a456ca2362b691485c8e1b42809dd
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-03-24 (Wed, 24 Mar 2021)

  Changed paths:
    M polly/lib/Transform/ScheduleOptimizer.cpp

  Log Message:
  -----------
  [polly] Fix build

This produced a compile error with GCC:

llvm-project/polly/lib/Transform/ScheduleOptimizer.cpp:1220:49: error: cannot convert ‘bool’ to ‘llvm::TargetTransformInfo::RegisterKind’
 1220 |     RegisterBitwidth = TTI->getRegisterBitWidth(true);




More information about the All-commits mailing list