IR: Add fp operations to atomicrmw
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 22 Jan 2019 03:32:36 +0000 (03:32 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 22 Jan 2019 03:32:36 +0000 (03:32 +0000)
commitbfdba5e4fc351d3de15d5536a1d4e04a16573ddf
tree0d1dff23cf739d81409b302850eea4d890fd16b9
parent1eaa04d682d684f7e83c263aa40e78ae8faab378
IR: Add fp operations to atomicrmw

Add just fadd/fsub for now.

llvm-svn: 351778
26 files changed:
llvm/docs/LangRef.rst
llvm/include/llvm/Bitcode/LLVMBitCodes.h
llvm/include/llvm/CodeGen/TargetLowering.h
llvm/include/llvm/IR/Instructions.h
llvm/lib/AsmParser/LLParser.cpp
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
llvm/lib/CodeGen/AtomicExpandPass.cpp
llvm/lib/IR/Instructions.cpp
llvm/lib/IR/Verifier.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/test/Assembler/atomic.ll
llvm/test/Assembler/invalid-atomicrmw-fadd-must-be-fp-type.ll [new file with mode: 0644]
llvm/test/Assembler/invalid-atomicrmw-fsub-must-be-fp-type.ll [new file with mode: 0644]
llvm/test/Bitcode/compatibility.ll
llvm/test/Transforms/AtomicExpand/AArch64/atomicrmw-fp.ll [new file with mode: 0644]
llvm/test/Transforms/AtomicExpand/ARM/atomicrmw-fp.ll [new file with mode: 0644]
llvm/test/Transforms/AtomicExpand/Hexagon/atomicrmw-fp.ll [new file with mode: 0644]
llvm/test/Transforms/AtomicExpand/Hexagon/lit.local.cfg [new file with mode: 0644]
llvm/test/Transforms/AtomicExpand/Mips/atomicrmw-fp.ll [new file with mode: 0644]
llvm/test/Transforms/AtomicExpand/Mips/lit.local.cfg [new file with mode: 0644]
llvm/test/Transforms/AtomicExpand/RISCV/atomicrmw-fp.ll [new file with mode: 0644]
llvm/test/Transforms/AtomicExpand/RISCV/lit.local.cfg [new file with mode: 0644]