summaryrefslogtreecommitdiff
path: root/tools/llvm-upgrade/UpgradeLexer.l
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-12-01 22:26:37 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-12-01 22:26:37 +0000
commitf7bde225f337250be99cb880856bcc0d507a52dd (patch)
treeec6c76a179e7c6bcaf1dc2ac4be6833939a77446 /tools/llvm-upgrade/UpgradeLexer.l
parent947c7689fc0435c7bb69b62f61ff40e266e87f0c (diff)
downloadllvm-f7bde225f337250be99cb880856bcc0d507a52dd.tar.gz
llvm-f7bde225f337250be99cb880856bcc0d507a52dd.tar.bz2
llvm-f7bde225f337250be99cb880856bcc0d507a52dd.tar.xz
Upgrade shr to ashr and lshr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32103 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-upgrade/UpgradeLexer.l')
-rw-r--r--tools/llvm-upgrade/UpgradeLexer.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/llvm-upgrade/UpgradeLexer.l b/tools/llvm-upgrade/UpgradeLexer.l
index 293220a3d6..b3e1264058 100644
--- a/tools/llvm-upgrade/UpgradeLexer.l
+++ b/tools/llvm-upgrade/UpgradeLexer.l
@@ -186,8 +186,9 @@ call { RET_TOK( CALL); }
cast { RET_TOK( CAST); }
select { RET_TOK( SELECT); }
shl { RET_TOK( SHL); }
-lshr { RET_TOK( LSHR); }
+shr { RET_TOK( SHR); }
ashr { RET_TOK( ASHR); }
+lshr { RET_TOK( LSHR); }
va_arg { RET_TOK( VAARG); }
ret { RET_TOK( RET); }
br { RET_TOK( BR); }