summaryrefslogtreecommitdiff
path: root/lib/Target/AArch64/InstPrinter
diff options
context:
space:
mode:
authorHao Liu <Hao.Liu@arm.com>2013-11-22 09:24:41 +0000
committerHao Liu <Hao.Liu@arm.com>2013-11-22 09:24:41 +0000
commitdd254ea7cbf6072f5eeac98fd6d671043b5ce3e6 (patch)
tree516014a5cf3dfd63fd9b0b1acc7fe9d84e9ccf84 /lib/Target/AArch64/InstPrinter
parente74a644b38339df6959cee26d135c6dabb117697 (diff)
downloadllvm-dd254ea7cbf6072f5eeac98fd6d671043b5ce3e6.tar.gz
llvm-dd254ea7cbf6072f5eeac98fd6d671043b5ce3e6.tar.bz2
llvm-dd254ea7cbf6072f5eeac98fd6d671043b5ce3e6.tar.xz
Fix a Cygwin build failure caused by enum values starting with '_', which is conflicted with some platform macros.
This patch only renames variables, no functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195432 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/AArch64/InstPrinter')
-rw-r--r--lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp2
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++));