HomePhabricator

[cmake] Configure policy CMP0116

Authored by kastiglione on Apr 22 2021, 10:08 AM.

Description

[cmake] Configure policy CMP0116

Using cmake >=3.20 results in many warnings about this new policy. This change silences the warnings by explicitly declaring use of the "OLD" behavior.

This policy currently affects only one place: the tablegen() function in TableGen.cmake.

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

Details

Committed
kastiglioneApr 23 2021, 8:57 AM
Differential Revision
D101083: [cmake] Configure policy CMP0116
Parents
rG043bc88dbada: [CostModel][X86] Improve v2f32 fadd reduction cost
Branches
Unknown
Tags
Unknown