[PATCH] D149289: GlobalOpt: Drop code to handle typed pointers
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 26 13:57:51 PDT 2023
nikic added inline comments.
================
Comment at: llvm/test/Transforms/GlobalOpt/issue62384.ll:2
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 2
+; RUN: opt -S -p=ipsccp,called-value-propagation,globalopt %s | FileCheck %s
+
----------------
arsenm wrote:
> aeubanks wrote:
> > arsenm wrote:
> > > nikic wrote:
> > > > Why does this need ipsccp and called-value-propagation?
> > > Not really sure but this was as small as I could get the opt pipeline
> > you should be able to dump the IR right before globalopt with something like `-print-before-all`
> Of course that's what I first did, but it still did not reproduce with just globalopt at that point. The constantexpr cast moved into init0 after IPSCCP
This may be related to either use list order, or to dangling constant expressions.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149289/new/
https://reviews.llvm.org/D149289
More information about the llvm-commits
mailing list