[all-commits] [llvm/llvm-project] 5fe5c0: [X86] Preserve fpexcept property when turning stri...

topperc via All-commits all-commits at lists.llvm.org
Fri Jan 10 23:42:30 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5fe5c0a60f9a5f32da4316ba0d1732a1e439703b
      https://github.com/llvm/llvm-project/commit/5fe5c0a60f9a5f32da4316ba0d1732a1e439703b
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
    M llvm/lib/Target/X86/X86InstrFPStack.td

  Log Message:
  -----------
  [X86] Preserve fpexcept property when turning strict_fp_extend and strict_fp_round into stack operations.

We use the stack for X87 fp_round and for moving from SSE f32/f64 to
X87 f64/f80. Or from X87 f64/f80 to SSE f32/f64.

Note for the SSE<->X87 conversions the conversion always happens in the
X87 domain. The load/store ops in the X87 instructions are able
to signal exceptions.


  Commit: c2ddfa876fa90008f1b4ff611256ad5dd4b36d96
      https://github.com/llvm/llvm-project/commit/c2ddfa876fa90008f1b4ff611256ad5dd4b36d96
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp

  Log Message:
  -----------
  [X86] Simplify code by removing an unreachable condition. NFCI

For X87<->SSE conversions, the SSE type is always smaller than
the X87 type. So we can always use the smallest type for the
memory type.


Compare: https://github.com/llvm/llvm-project/compare/fcad5b298c78...c2ddfa876fa9


More information about the All-commits mailing list