[all-commits] [llvm/llvm-project] 04aa50: Revert "[Clang] Allow devirtualization involving a...

Hans Wennborg via All-commits all-commits at lists.llvm.org
Tue Jul 14 13:10:49 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04aa50715cafa5f205b44bc88a6f721d296ec91c
      https://github.com/llvm/llvm-project/commit/04aa50715cafa5f205b44bc88a6f721d296ec91c
  Author: Hans Wennborg <hans at hanshq.net>
  Date:   2026-07-14 (Tue, 14 Jul 2026)

  Changed paths:
    M clang/lib/AST/DeclCXX.cpp
    M clang/test/CXX/drs/cwg15xx.cpp
    M clang/test/CodeGenCXX/devirtualize-virtual-function-calls.cpp
    M clang/www/cxx_dr_status.html

  Log Message:
  -----------
  Revert "[Clang] Allow devirtualization involving array subscripts with constant indices when the pointee type is known [CWG1504] (#207540) (#209596)

It caused miscompiles, see discussion on the PR.

This reverts commit ee24ac00d874ce82eaf36431f9aeb2ad744bc3b8.



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