radeon/llvm: Add TargetLibraryInfo to the pass manager
authorTom Stellard <thomas.stellard@amd.com>
Thu, 4 Feb 2016 19:37:31 +0000 (19:37 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 17 Feb 2016 19:06:41 +0000 (19:06 +0000)
commitdc7cf07af354ccae040d533b1c46aee61872e39a
treef305680609e371033c62a73500014557b8bb6bf9
parent4f351a6cb1cc5ac6dfb9005c386fcbce7e61ac03
radeon/llvm: Add TargetLibraryInfo to the pass manager

This will prevent optimization passes from introducing unsupported
library calls.

Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c