In the provided test case, we were trying to set the global's
initializer to i32* null when the global's value type was @0.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D108232
[GlobalOpt] Check stored once value's type before setting global initializer ClosedPublic Authored by aeubanks on Aug 17 2021, 12:05 PM.
Details Summary In the provided test case, we were trying to set the global's
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 17 2021, 1:35 PM Closed by commit rG16890e004085: [GlobalOpt] Check stored once value's type before setting global initializer (authored by aeubanks). · Explain WhyAug 17 2021, 2:39 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 366975 llvm/lib/Transforms/IPO/GlobalOpt.cpp
llvm/test/Transforms/GlobalOpt/stored-once-value-type.ll
|