LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 32213 - Merge r294786 and r296163 into 4.0.1
Summary: Merge r294786 and r296163 into 4.0.1
Status: RESOLVED FIXED
Alias: None
Product: libraries
Classification: Unclassified
Component: Scalar Optimizations (show other bugs)
Version: 4.0
Hardware: PC All
: P enhancement
Assignee: David Majnemer
URL:
Keywords:
Depends on:
Blocks: release-4.0.1
  Show dependency tree
 
Reported: 2017-03-10 04:03 PST by James Price
Modified: 2017-05-16 05:59 PDT (History)
2 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Price 2017-03-10 04:03:21 PST
These fix some regressions in a downstream project with 4.0 compared to 3.9, due to the InstCombine pass incorrectly introducing addrspacecast instructions when combining an alloca with a global variable.
Comment 1 Tom Stellard 2017-04-03 18:27:03 PDT
Hi David,

Are these OK to merge to the 4.0 branch:

https://reviews.llvm.org/rL294786
https://reviews.llvm.org/rL296163
Comment 2 Tom Stellard 2017-05-16 05:59:37 PDT
r294786 merged as r301452.
r296163 merged as r303166.