[PATCH] D20116: Add nosideeffects function attribute

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Fri May 13 18:37:08 PDT 2016


tstellarAMD updated this revision to Diff 57277.
tstellarAMD added a comment.

I added two new Intrinsic attributes IntrNoSideEffects and IntrHasSideEffects,
which make it possible to specify all the possible memory interaction / side effect
combinations.  With these properties in place, it should be possible in the future
to drop the 'no side effect' portion of the intrinsic memory properties once targets
have been updated to use these new properties.


http://reviews.llvm.org/D20116

Files:
  docs/LangRef.rst
  include/llvm/Bitcode/LLVMBitCodes.h
  include/llvm/IR/Attributes.td
  include/llvm/IR/Function.h
  include/llvm/IR/Intrinsics.td
  lib/AsmParser/LLLexer.cpp
  lib/AsmParser/LLParser.cpp
  lib/AsmParser/LLToken.h
  lib/Bitcode/Reader/BitcodeReader.cpp
  lib/Bitcode/Writer/BitcodeWriter.cpp
  lib/IR/Attributes.cpp
  lib/IR/Verifier.cpp
  test/Analysis/BasicAA/intrinsics.ll
  test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll
  test/Analysis/TypeBasedAliasAnalysis/intrinsics.ll
  test/Bindings/llvm-c/Inputs/invalid.ll.bc
  test/Bindings/llvm-c/invalid-bitcode.test
  test/Bitcode/attributes.ll
  test/Bitcode/compatibility-3.6.ll
  test/Bitcode/compatibility-3.7.ll
  test/Bitcode/compatibility-3.8.ll
  test/Bitcode/compatibility.ll
  test/Bitcode/invalid.ll
  test/Bitcode/invalid.ll.bc
  test/Bitcode/ptest-new.ll
  test/Bitcode/ptest-old.ll
  test/CodeGen/AMDGPU/annotate-kernel-features-hsa.ll
  test/Feature/intrinsics.ll
  test/LTO/X86/Inputs/invalid.ll.bc
  test/LTO/X86/invalid.ll
  test/Transforms/BBVectorize/simple-int.ll
  test/Transforms/Inline/inline_invoke.ll
  test/Transforms/Inline/noalias-calls.ll
  test/Transforms/InstCombine/2012-04-23-Neon-Intrinsics.ll
  test/Transforms/MemCpyOpt/memcpy.ll
  test/Transforms/ObjCARC/nested.ll
  test/Transforms/SLPVectorizer/X86/call.ll
  utils/TableGen/CodeGenDAGPatterns.cpp
  utils/TableGen/CodeGenIntrinsics.h
  utils/TableGen/CodeGenTarget.cpp
  utils/TableGen/IntrinsicEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20116.57277.patch
Type: text/x-patch
Size: 25984 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160514/b2bec524/attachment.bin>


More information about the llvm-commits mailing list