HomePhabricator

[NFC] Make the type of X86AlignBranchBoundary compatible

Authored by skan on Jan 1 2020, 10:24 PM.

Description

[NFC] Make the type of X86AlignBranchBoundary compatible

Change the type of X86AlignBranchBoundary from cl::opt<uint64_t> to
cl::opt<unsigned> since the template class cl::opt is only instantiated with
type unsigned, int, std::string, char and bool.

Details

Committed
skanJan 1 2020, 10:35 PM
Parents
rGaa8217289864: [XRay][test] Fix xray-empty-firstmbb.mir and delete incorrect xray-empty…
Branches
Unknown
Tags
Unknown

Event Timeline

opt is instantiated with unsigned longand unsigned long long. So opt<uint64_t> can be used, though it has different types on 32-bit and 64-bit platforms.