[all-commits] [llvm/llvm-project] de8867: [AMDGPUEmitPrintf] Don't require specific pointer ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Jan 26 07:16:48 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de8867a0b6407c9b6d95a2ecb830256f0e224b52
      https://github.com/llvm/llvm-project/commit/de8867a0b6407c9b6d95a2ecb830256f0e224b52
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-01-26 (Wed, 26 Jan 2022)

  Changed paths:
    M llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp

  Log Message:
  -----------
  [AMDGPUEmitPrintf] Don't require specific pointer element type

Rather than checking for i8*, simply add a bitcast to i8*, so the
appendString() code sees the expected type.




More information about the All-commits mailing list