HomePhabricator

[llvm-exegesis][NFC] Some code style cleanup

Description

[llvm-exegesis][NFC] Some code style cleanup

Apply review comments of https://reviews.llvm.org/D54185 to other target as well, specifically:

  1. make anonymous namespaces as small as possible, avoid using static inside anonymous namespaces
  2. Add missing header to some files
  3. GetLoadImmediateOpcodem-> getLoadImmediateOpcode
  4. Fix typo

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

Details

Committed
jsjiNov 20 2018, 6:41 AM
Differential Revision
D54343: [llvm-exegesis][NFC] Some code style cleanup
Parents
rL347308: Fix MSVC 'truncation of constant value' warning. NFCI.
Branches
Unknown
Tags
Unknown