OSDN Git Service

AMDGPU: Disable some passes that are not meaningful
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 25 Sep 2015 17:41:20 +0000 (17:41 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 25 Sep 2015 17:41:20 +0000 (17:41 +0000)
commita481a619e76e9f57b45b7416bbe0f54a63d78af0
tree5c74bb0ce4371734804e93684201eb8df7d2aabe
parent9225f0116927918414e24c5dc70e07b2bac824d3
AMDGPU: Disable some passes that are not meaningful

Don't run passes related to stack maps, garbage collection,
exceptions since these aren't useful for GPUs.

There might be a few more to turn off that I'm less sure about
(e.g. ShrinkWrapping) or I'm not sure how to disable
(SafeStack and StackProtector)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248591 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp