diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2020-01-13 17:31:07 -0800 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2020-01-13 17:32:30 -0800 |
| commit | 09db6e320985f2bee22634049857224e0a5e58f8 (patch) | |
| tree | 76b6b80099100328b23c83af7d7257bfe74740dc /llvm/tools | |
| parent | e68e4cbcc50ba7ab8df5e09023f15e6cc2223bef (diff) | |
| download | bcm5719-llvm-09db6e320985f2bee22634049857224e0a5e58f8.tar.gz bcm5719-llvm-09db6e320985f2bee22634049857224e0a5e58f8.zip | |
[llvm-exegesis] Initialize const bitvector member
This causes an error with older versions of clang: constructor for
'llvm::exegesis::InstructionsCache' must explicitly initialize the const
member 'BVC'
Diffstat (limited to 'llvm/tools')
| -rw-r--r-- | llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp b/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp index 487f6641d50..79f513778f8 100644 --- a/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp +++ b/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp @@ -301,7 +301,7 @@ void Instruction::dump(const MCRegisterInfo &RegInfo, InstructionsCache::InstructionsCache(const MCInstrInfo &InstrInfo, const RegisterAliasingTrackerCache &RATC) - : InstrInfo(InstrInfo), RATC(RATC) {} + : InstrInfo(InstrInfo), RATC(RATC), BVC() {} const Instruction &InstructionsCache::getInstr(unsigned Opcode) const { auto &Found = Instructions[Opcode]; |

