diff options
author | JF Bastien <jfb@google.com> | 2015-10-17 00:12:29 +0000 |
---|---|---|
committer | JF Bastien <jfb@google.com> | 2015-10-17 00:12:29 +0000 |
commit | 4f43e80ecef00cc150e177bb0cdf8a2685b264a0 (patch) | |
tree | 4a1d10951261e675a84bf5fd820356cdccb7b62c /llvm/lib | |
parent | 96e411b90c5896119e3479b25dba939e799773d9 (diff) | |
download | bcm5719-llvm-4f43e80ecef00cc150e177bb0cdf8a2685b264a0.tar.gz bcm5719-llvm-4f43e80ecef00cc150e177bb0cdf8a2685b264a0.zip |
WebAssembly: fix the syntax for comparisons
Summary: It has also slightly changed.
Reviewers: binji
Subscribers: jfb, dschuff, llvm-commits, sunfish
Differential Revision: http://reviews.llvm.org/D13837
llvm-svn: 250591
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyInstrInteger.td | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyInstrInteger.td b/llvm/lib/Target/WebAssembly/WebAssemblyInstrInteger.td index 073b261ef09..b62cdaeb393 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyInstrInteger.td +++ b/llvm/lib/Target/WebAssembly/WebAssemblyInstrInteger.td @@ -28,14 +28,14 @@ defm SHR_S : BinaryInt<sra>; defm EQ : ComparisonInt<SETEQ>; defm NE : ComparisonInt<SETNE>; -defm SLT : ComparisonInt<SETLT>; -defm SLE : ComparisonInt<SETLE>; -defm ULT : ComparisonInt<SETULT>; -defm ULE : ComparisonInt<SETULE>; -defm SGT : ComparisonInt<SETGT>; -defm SGE : ComparisonInt<SETGE>; -defm UGT : ComparisonInt<SETUGT>; -defm UGE : ComparisonInt<SETUGE>; +defm LT_S : ComparisonInt<SETLT>; +defm LE_S : ComparisonInt<SETLE>; +defm LT_U : ComparisonInt<SETULT>; +defm LE_U : ComparisonInt<SETULE>; +defm GT_S : ComparisonInt<SETGT>; +defm GE_S : ComparisonInt<SETGE>; +defm GT_U : ComparisonInt<SETUGT>; +defm GE_U : ComparisonInt<SETUGE>; defm CLZ : UnaryInt<ctlz>; defm CTZ : UnaryInt<cttz>; |