[all-commits] [llvm/llvm-project] f84056: [DebugInfo] Handle DW_OP_LLVM_extract_bits in SRO...

John Brawn via All-commits all-commits at lists.llvm.org
Mon Jun 17 04:01:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f84056c38f1fd14881b23ace521a403e52ed7405
      https://github.com/llvm/llvm-project/commit/f84056c38f1fd14881b23ace521a403e52ed7405
  Author: John Brawn <john.brawn at arm.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M llvm/include/llvm/IR/DebugInfoMetadata.h
    M llvm/lib/IR/DebugInfoMetadata.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    A llvm/test/DebugInfo/Generic/sroa-extract-bits.ll

  Log Message:
  -----------
   [DebugInfo] Handle DW_OP_LLVM_extract_bits in SROA (#94638)

This doesn't need any work to be done in SROA itself, but rather in
functions that it uses. Specifically:
* DIExpression::createFragmentExpression is made to understand
DW_OP_LLVM_extract_bits
* valueCoversEntireFragment is made to check the active bits instead of
the fragment size, so that it handles extract_bits correctly



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list