commit | 761e36b4caab4e8e09a4c2b1409a825902fc7d2c | [log] [tgz] |
---|---|---|
author | Tom Stellard <thomas.stellard@amd.com> | Wed Oct 15 12:24:30 2014 -0400 |
committer | Tom Stellard <thomas.stellard@amd.com> | Tue Jan 06 12:53:21 2015 -0800 |
tree | c8b8639b11190ebfcc43f4e22fa771f86d551bd8 | |
parent | 934e41c0b31cffa4efc08f61cff2389e3149b3f3 [diff] |
radeonsi: Cache LLVMTargetMachine object in si_screen Rather than building a new one every compile. This should reduce some of the overhead of compiling shaders. One consequence of this change is that we lose the MachineInstrs dumps when dumping the shaders via R600_DEBUG. The LLVM IR and assembly is still dumped, and if you still want to see the MachineInstr dump, you can run the dumped LLVM IR through llc.