summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/WebAssemblyInstrConv.td
diff options
context:
space:
mode:
authorMichael Kuperstein <mkuper@google.com>2016-08-18 20:08:15 +0000
committerMichael Kuperstein <mkuper@google.com>2016-08-18 20:08:15 +0000
commit2bc3d4d46c5f19d8433fd088fa95d18f9707bde8 (patch)
tree1bf251351a4472649c63fb3f1bc7f2f056386f1f /llvm/lib/Target/WebAssembly/WebAssemblyInstrConv.td
parentdea5ccb04b8be312456a5bdb6483cfb0fcb5b962 (diff)
downloadbcm5719-llvm-2bc3d4d46c5f19d8433fd088fa95d18f9707bde8.tar.gz
bcm5719-llvm-2bc3d4d46c5f19d8433fd088fa95d18f9707bde8.zip
[SelectionDAG] Rename fextend -> fpextend, fround -> fpround, frnd -> fround
The names of the tablegen defs now match the names of the ISD nodes. This makes the world a slightly saner place, as previously "fround" matched ISD::FP_ROUND and not ISD::FROUND. Differential Revision: https://reviews.llvm.org/D23597 llvm-svn: 279129
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyInstrConv.td')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyInstrConv.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyInstrConv.td b/llvm/lib/Target/WebAssembly/WebAssemblyInstrConv.td
index 931f4a913d0..b65a1240fee 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyInstrConv.td
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyInstrConv.td
@@ -89,10 +89,10 @@ def F64_CONVERT_U_I64 : I<(outs F64:$dst), (ins I64:$src),
"f64.convert_u/i64\t$dst, $src">;
def F64_PROMOTE_F32 : I<(outs F64:$dst), (ins F32:$src),
- [(set F64:$dst, (fextend F32:$src))],
+ [(set F64:$dst, (fpextend F32:$src))],
"f64.promote/f32\t$dst, $src">;
def F32_DEMOTE_F64 : I<(outs F32:$dst), (ins F64:$src),
- [(set F32:$dst, (fround F64:$src))],
+ [(set F32:$dst, (fpround F64:$src))],
"f32.demote/f64\t$dst, $src">;
def I32_REINTERPRET_F32 : I<(outs I32:$dst), (ins F32:$src),
OpenPOWER on IntegriCloud