[PATCH] D149289: GlobalOpt: Drop code to handle typed pointers
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 26 13:54:31 PDT 2023
arsenm 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
+
----------------
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
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149289/new/
https://reviews.llvm.org/D149289
More information about the llvm-commits
mailing list