[all-commits] [llvm/llvm-project] 46cf82: [NFC] Replace Function handling of attributes with...

aeubanks via All-commits all-commits at lists.llvm.org
Tue Aug 17 21:07:45 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 46cf82532cf1502b6320517a2ef42d8c435e598a
      https://github.com/llvm/llvm-project/commit/46cf82532cf1502b6320517a2ef42d8c435e598a
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-08-17 (Tue, 17 Aug 2021)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp
    M llvm/include/llvm/IR/Function.h
    M llvm/lib/IR/Core.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Transforms/IPO/FunctionAttrs.cpp
    M llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
    M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
    M llvm/lib/Transforms/Utils/BuildLibCalls.cpp
    M llvm/lib/Transforms/Utils/ModuleUtils.cpp

  Log Message:
  -----------
  [NFC] Replace Function handling of attributes with less confusing calls

To avoid magic constants and confusing indexes.


  Commit: ad727ab7d9c21abe8b62df617d72e2c98d767561
      https://github.com/llvm/llvm-project/commit/ad727ab7d9c21abe8b62df617d72e2c98d767561
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-08-17 (Tue, 17 Aug 2021)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/TargetInfo.cpp
    M llvm/include/llvm/CodeGen/IndirectThunks.h
    M llvm/include/llvm/IR/Attributes.h
    M llvm/include/llvm/IR/Function.h
    M llvm/lib/IR/Attributes.cpp
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/lib/IR/Function.cpp
    M llvm/lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp
    M llvm/lib/Target/Mips/Mips16HardFloat.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
    M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
    M llvm/lib/Transforms/IPO/FunctionAttrs.cpp
    M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    M llvm/lib/Transforms/Scalar/SCCP.cpp
    M llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
    M llvm/unittests/IR/AttributesTest.cpp

  Log Message:
  -----------
  [NFC] Migrate some callers away from Function/AttributeLists methods that take an index

These methods can be confusing.


  Commit: cc327bd5231126006b4177b8ce0946ce52e2f645
      https://github.com/llvm/llvm-project/commit/cc327bd5231126006b4177b8ce0946ce52e2f645
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-08-17 (Tue, 17 Aug 2021)

  Changed paths:
    M llvm/include/llvm/IR/Attributes.h
    M llvm/include/llvm/IR/Function.h
    M llvm/lib/IR/Function.cpp

  Log Message:
  -----------
  [NFC] Cleanup attribute methods in Function


  Commit: de0ae9e89ec437d9f58e4b2da04d210c161854a3
      https://github.com/llvm/llvm-project/commit/de0ae9e89ec437d9f58e4b2da04d210c161854a3
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-08-17 (Tue, 17 Aug 2021)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    M llvm/include/llvm/IR/Attributes.h
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/CodeGen/AtomicExpandPass.cpp
    M llvm/lib/CodeGen/CommandFlags.cpp
    M llvm/lib/ExecutionEngine/ExecutionEngineBindings.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULibFunc.cpp
    M llvm/lib/Target/Mips/Mips16HardFloat.cpp
    M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
    M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    M llvm/tools/bugpoint/CrashDebugger.cpp
    M llvm/unittests/IR/AttributesTest.cpp
    M llvm/unittests/IR/VerifierTest.cpp

  Log Message:
  -----------
  [NFC] Cleanup more AttributeList::addAttribute()


  Commit: 3f4d00bc3b514d3218089fce15457457fc3312c3
      https://github.com/llvm/llvm-project/commit/3f4d00bc3b514d3218089fce15457457fc3312c3
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-08-17 (Tue, 17 Aug 2021)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/lib/CodeGen/CGExprCXX.cpp
    M clang/lib/CodeGen/CGStmt.cpp
    M llvm/include/llvm/IR/IRBuilder.h
    M llvm/include/llvm/IR/InstrTypes.h
    M llvm/include/llvm/IR/Instructions.h
    M llvm/include/llvm/IR/MatrixBuilder.h
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/lib/Analysis/InlineAdvisor.cpp
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/lib/CodeGen/CommandFlags.cpp
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/lib/IR/Instruction.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
    M llvm/lib/Transforms/Coroutines/Coroutines.cpp
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    M llvm/lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
    M llvm/lib/Transforms/Scalar/SCCP.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/lib/Transforms/Utils/ModuleUtils.cpp
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
    M llvm/unittests/IR/InstructionsTest.cpp

  Log Message:
  -----------
  [NFC] More get/removeAttribute() cleanup


Compare: https://github.com/llvm/llvm-project/compare/b41bfb819d0c...3f4d00bc3b51


More information about the All-commits mailing list