diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2019-07-30 15:56:43 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2019-07-30 15:56:43 +0000 |
commit | 57ef94fb06af30d86c561d3cb18f30d43aedd344 (patch) | |
tree | 33dfce30028b01d3d3d91d2262505e73a2d63316 /llvm/lib | |
parent | 5e0adce40f3481246c887ccfe4bb67573539e5de (diff) | |
download | bcm5719-llvm-57ef94fb06af30d86c561d3cb18f30d43aedd344.tar.gz bcm5719-llvm-57ef94fb06af30d86c561d3cb18f30d43aedd344.zip |
AMDGPU: Avoid emitting "true" predicates
Empty condition strings are considerde always true. This removes a lot
of clutter from the generated matcher tables.
This shrinks the source size of AMDGPUGenDAGISel.inc from 7.3M to
6.1M.
llvm-svn: 367326
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/AMDGPU/AMDGPUInstructions.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUInstructions.td b/llvm/lib/Target/AMDGPU/AMDGPUInstructions.td index 6efd578807e..885bfc7824c 100644 --- a/llvm/lib/Target/AMDGPU/AMDGPUInstructions.td +++ b/llvm/lib/Target/AMDGPU/AMDGPUInstructions.td @@ -75,7 +75,7 @@ class ILFormat<dag outs, dag ins, string asmstr, list<dag> pattern> let isCodeGenOnly = 1; } -def TruePredicate : Predicate<"true">; +def TruePredicate : Predicate<"">; class PredicateControl { Predicate SubtargetPredicate = TruePredicate; |