[all-commits] [llvm/llvm-project] 4dbcef: Revert the llvm::append_range change in lib/Target...

Alexander Kornienko via All-commits all-commits at lists.llvm.org
Sun Mar 30 06:44:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4dbcefe3806f9970c0e4f4b08d98df5253517f14
      https://github.com/llvm/llvm-project/commit/4dbcefe3806f9970c0e4f4b08d98df5253517f14
  Author: Alexander Kornienko <alexfh at google.com>
  Date:   2025-03-30 (Sun, 30 Mar 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86WinEHState.cpp

  Log Message:
  -----------
  Revert the llvm::append_range change in lib/Target/X86/X86WinEHState.cpp

This reverts a single file from ad1ba15ea894ac47b0f2447db191a14ebe1b301d.
llvm::append_range in this context fails to compile with recent Clang and
libc++:

libcxx/include/__algorithm/copy_backward.h:221:68: error: invalid operands to
binary expression ('llvm::SuccIterator<llvm::Instruction, llvm::BasicBlock>'
and 'long')
...
llvm-project/llvm/lib/Target/X86/X86WinEHState.cpp:724:11: note: in
instantiation of function template specialization
'llvm::append_range<std::deque<llvm::BasicBlock *>,
llvm::iterator_range<llvm::SuccIterator<llvm::Instruction, llvm::BasicBlock
>>>' requested here
  724 |     llvm::append_range(Worklist, successors(BB));
      |           ^



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