[PATCH] D78686: [PowerPC] Fix downcast from nullptr

Ng Zhi An via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 24 12:59:19 PDT 2020


ngzhian added a comment.

Thanks for the advice, Steven. I found some existing tests that exercised the particular downcasting logic, and found that if I set -filetype=null in those RUN: directives, I could trigger a crash. So I added a line to those tests. Also made the same fix to PPCAsmParser and PPCAIXAsmPrinter.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78686/new/

https://reviews.llvm.org/D78686





More information about the llvm-commits mailing list