HomePhabricator

[polly] Fix build

Authored by nikic on Mar 24 2021, 9:46 AM.

Description

[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);

Details

Committed
nikicMar 24 2021, 9:46 AM
Parents
rGa6a1c3051dbd: Fix false negative in -Wthread-safety-attributes
Branches
Unknown
Tags
Unknown