[all-commits] [llvm/llvm-project] 798058: [Remarks] Remove an upcast footgun. NFC (#142191)

Jon Roelofs via All-commits all-commits at lists.llvm.org
Sat May 31 11:08:16 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 798058fca51ab4ba9d364c0ef022a15485e5ed5d
      https://github.com/llvm/llvm-project/commit/798058fca51ab4ba9d364c0ef022a15485e5ed5d
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2025-05-31 (Sat, 31 May 2025)

  Changed paths:
    M llvm/include/llvm/IR/DiagnosticInfo.h
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    M llvm/lib/CodeGen/HardwareLoops.cpp
    M llvm/lib/IR/DiagnosticInfo.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M polly/include/polly/ScopDetectionDiagnostic.h
    M polly/lib/Analysis/ScopDetectionDiagnostic.cpp
    M polly/lib/Transform/ManualOptimizer.cpp

  Log Message:
  -----------
  [Remarks] Remove an upcast footgun. NFC (#142191)

CodeRegion's were previously passed as Value*, but then immediately
upcast to BasicBlock. Let's keep the type information around until the
use cases for non-BasicBlock code regions actually materialize.



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