DriverPipeline: Ensure -globalopt is passed to LLVM opt

Authored by bgamari on Mar 6 2014, 2:20 PM.

Description

DriverPipeline: Ensure -globalopt is passed to LLVM opt

While -O1 and -O2 both include -globalopt, the order in which the passes are
run means that aliases aren't resolved which then causes llc to fall over.
See GHC bug Trac #8855.

Signed-off-by: Austin Seipp <austin@well-typed.com>

Details

Committed
austinMar 13 2014, 5:56 PM
Pushed
bgamariAug 25 2016, 1:39 PM
Parents
rGHCDIFFd574fcbba09f: config.mk.in: ARM now supports dynamic linking with the LLVM backend
Branches
Unknown
Tags
Unknown