[PGO][PGSO] Let unroll hints take precedence over PGSO.
authorHiroshi Yamauchi <yamauchi@google.com>
Wed, 6 Jan 2021 22:42:26 +0000 (14:42 -0800)
committerHiroshi Yamauchi <yamauchi@google.com>
Thu, 7 Jan 2021 18:10:31 +0000 (10:10 -0800)
commitcf5415c727dda0ea4b27ee16347d170f118b037b
treeb83a6775d9d0b305cabd0e9fec736d0ee847e386
parentd0154456e61c5ab79e25fc9b8bb684ebdca3a7c2
[PGO][PGSO] Let unroll hints take precedence over PGSO.

Differential Revision: https://reviews.llvm.org/D94199
llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
llvm/test/Transforms/LoopUnroll/unroll-opt-attribute.ll