summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2016-02-16 15:14:23 +0000
committerDan Gohman <dan433584@gmail.com>2016-02-16 15:14:23 +0000
commitaa7429112e7f05114c1d5b54df0135e903146776 (patch)
tree806d9cc8949a92e3f4b9d832e43798c05034b53c /llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
parentc70aedab0e0561df2b426a7a464670847063232d (diff)
downloadbcm5719-llvm-aa7429112e7f05114c1d5b54df0135e903146776.tar.gz
bcm5719-llvm-aa7429112e7f05114c1d5b54df0135e903146776.zip
[WebAssembly] Implement support for custom NaN bit patterns.
llvm-svn: 260968
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td b/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
index 60e5d6ea645..115e532b5a2 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
@@ -71,10 +71,11 @@ let OperandNamespace = "WebAssembly" in {
let OperandType = "OPERAND_BASIC_BLOCK" in
def bb_op : Operand<OtherVT>;
-let OperandType = "OPERAND_FPIMM" in {
+let OperandType = "OPERAND_FP32IMM" in
def f32imm_op : Operand<f32>;
+
+let OperandType = "OPERAND_FP64IMM" in
def f64imm_op : Operand<f64>;
-} // OperandType = "OPERAND_FPIMM"
let OperandType = "OPERAND_P2ALIGN" in {
def P2Align : Operand<i32> {
OpenPOWER on IntegriCloud