[PATCH] D54649: [FPEnv] Rough out constrained FCmp intrinsics

Cameron McInally via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 16 13:36:09 PST 2018


cameron.mcinally created this revision.
cameron.mcinally added reviewers: craig.topper, andrew.w.kaylor, kpn, uweigand.
Herald added subscribers: llvm-commits, kristina.

This is a continuation of the abandoned https://reviews.llvm.org/D54121...

Here's a big patch for the constrained FCmp intrinsics. There's a lot here, so I did not include the full set of constrained FCmp intrinsics or tests yet. I intend to add those in a separate patch.

These intrinsics will require some auxiliary constructs in TableGen, which make up the bulk of this code. Those are:

- any_bool_ty
- LLVMScalarOrVectorSameWidth

I'll also point out some things that I'm unsure about inline. Hopefully others are more familiar with that code.


Repository:
  rL LLVM

https://reviews.llvm.org/D54649

Files:
  include/llvm/CodeGen/ISDOpcodes.h
  include/llvm/CodeGen/SelectionDAGNodes.h
  include/llvm/CodeGen/TargetLowering.h
  include/llvm/CodeGen/ValueTypes.h
  include/llvm/CodeGen/ValueTypes.td
  include/llvm/IR/IntrinsicInst.h
  include/llvm/IR/Intrinsics.h
  include/llvm/IR/Intrinsics.td
  include/llvm/Support/MachineValueType.h
  lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
  lib/CodeGen/SelectionDAG/LegalizeTypes.h
  lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
  lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
  lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
  lib/IR/Function.cpp
  lib/IR/Verifier.cpp
  test/CodeGen/X86/fp-intrinsics.ll
  test/CodeGen/X86/vector-constrained-fp-intrinsics-cmp.ll
  utils/TableGen/CodeGenDAGPatterns.cpp
  utils/TableGen/CodeGenTarget.cpp
  utils/TableGen/IntrinsicEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54649.174440.patch
Type: text/x-patch
Size: 31501 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181116/23b2c800/attachment.bin>


More information about the llvm-commits mailing list