diff options
author | Hao Liu <Hao.Liu@arm.com> | 2013-11-22 08:17:16 +0000 |
---|---|---|
committer | Hao Liu <Hao.Liu@arm.com> | 2013-11-22 08:17:16 +0000 |
commit | 7f5a9ca20452d29df4a9960fa3e1fb9d6398a3f1 (patch) | |
tree | ad8f790cdf616c1bb3d9bc99a4558bb800a2893c /lib/Target/AArch64/InstPrinter | |
parent | e323506316cc3948bd801be537a723c308d8e2d4 (diff) | |
download | llvm-7f5a9ca20452d29df4a9960fa3e1fb9d6398a3f1.tar.gz llvm-7f5a9ca20452d29df4a9960fa3e1fb9d6398a3f1.tar.bz2 llvm-7f5a9ca20452d29df4a9960fa3e1fb9d6398a3f1.tar.xz |
Fix a Cygwin build failure caused by enum values starting with '_', which is conflicted with some platform macros.
This solution only renames variables, no functional change.
NOTE: This is a candidate for the 3.4 branch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195421 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/AArch64/InstPrinter')
-rw-r--r-- | lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp b/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp index 24205b57b9..0438de3152 100644 --- a/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp +++ b/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp @@ -521,7 +521,7 @@ void AArch64InstPrinter::printVectorList(const MCInst *MI, unsigned OpNum, std::string LayoutStr = A64VectorLayoutToString(Layout); O << "{"; if (Count > 1) { // Print sub registers separately - bool IsVec64 = (Layout < A64Layout::_16B); + bool IsVec64 = (Layout < A64Layout::VL_16B); unsigned SubRegIdx = IsVec64 ? AArch64::dsub_0 : AArch64::qsub_0; for (unsigned I = 0; I < Count; I++) { std::string Name = getRegisterName(MRI.getSubReg(Reg, SubRegIdx++)); |