[all-commits] [llvm/llvm-project] 945440: [NFC][clang] Replace unchecked dyn_cast with cast ...

Mike Rice via All-commits all-commits at lists.llvm.org
Tue Jul 16 08:06:05 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 945440033f50aeaf85fca709d8c2644456b2a034
      https://github.com/llvm/llvm-project/commit/945440033f50aeaf85fca709d8c2644456b2a034
  Author: Mike Rice <michael.p.rice at intel.com>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp

  Log Message:
  -----------
  [NFC][clang] Replace unchecked dyn_cast with cast (#98948)

BI__builtin_hlsl_elementwise_rcp is only invoked with a FixedVectorType
so use cast to make this clear and satisfy the static verifier.



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