summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorSam Kolton <Sam.Kolton@amd.com>2017-04-05 12:00:45 +0000
committerSam Kolton <Sam.Kolton@amd.com>2017-04-05 12:00:45 +0000
commit34e29784fbfa75fb654575657a7c149ac25d14c3 (patch)
treede8b1e1dbdbb6fa4624b7b780c881ab62fd7e35a /llvm/lib
parent014ac69f2e74d04fc92d02e947990159917160fe (diff)
downloadbcm5719-llvm-34e29784fbfa75fb654575657a7c149ac25d14c3.tar.gz
bcm5719-llvm-34e29784fbfa75fb654575657a7c149ac25d14c3.zip
[AMDGPU] SDWA peephole: enable by default
Reviewers: vpykhtin, rampitec, arsenm Subscribers: qcolombet, kzhuravl, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye Differential Revision: https://reviews.llvm.org/D31671 llvm-svn: 299536
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp b/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
index c6c20b81352..f03adfc66fa 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
@@ -105,7 +105,7 @@ static cl::opt<bool> EarlyInlineAll(
static cl::opt<bool> EnableSDWAPeephole(
"amdgpu-sdwa-peephole",
cl::desc("Enable SDWA peepholer"),
- cl::init(false));
+ cl::init(true));
// Enable address space based alias analysis
static cl::opt<bool> EnableAMDGPUAliasAnalysis("enable-amdgpu-aa", cl::Hidden,
OpenPOWER on IntegriCloud