Add FCmpInst ord support.
authorYang Rong <rong.r.yang@intel.com>
Fri, 15 Nov 2013 05:45:53 +0000 (13:45 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Fri, 15 Nov 2013 05:18:26 +0000 (13:18 +0800)
commiteda284ed4ae7205bdf2b9d0f69587d7a86f4a980
tree0c92866486fe0d07b56e257b59bfd01db5026d07
parentd3f1eea9181bd20cbfe2609c3158984eeac7feba
Add FCmpInst ord support.

Because gen do not support isorder direct, use (src0 == src0) && (src1 == src1).
BTW: can't use !unordered.

v2: Refine, don't need AND.
v3: Do not change getGenCompare function.

Signed-off-by: Yang Rong <rong.r.yang@intel.com>
Reviewed-by: "Xing, Homer" <homer.xing@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
backend/src/backend/gen_insn_selection.cpp
backend/src/ir/instruction.cpp
backend/src/ir/instruction.hpp
backend/src/ir/instruction.hxx
backend/src/llvm/llvm_gen_backend.cpp