diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-11-18 19:43:33 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-11-18 19:43:33 +0000 |
commit | ef37e453c407675ab5934d2f6bcec706b7810878 (patch) | |
tree | 949b61737c88b83dbd1e864781eeddd5aee7e178 /lib/Target/R600/AMDGPU.td | |
parent | b4c3516b0f7d879e332adf6f4dba3f4763c74086 (diff) | |
download | external_llvm-ef37e453c407675ab5934d2f6bcec706b7810878.zip external_llvm-ef37e453c407675ab5934d2f6bcec706b7810878.tar.gz external_llvm-ef37e453c407675ab5934d2f6bcec706b7810878.tar.bz2 |
R600: Add a SubtargetFeatture for disabling the ifcvt pass.
This is useful when writing test cases for the AMDIL structurizer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195029 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600/AMDGPU.td')
-rw-r--r-- | lib/Target/R600/AMDGPU.td | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/R600/AMDGPU.td b/lib/Target/R600/AMDGPU.td index e9304c2..37ff6b1 100644 --- a/lib/Target/R600/AMDGPU.td +++ b/lib/Target/R600/AMDGPU.td @@ -28,6 +28,11 @@ def FeatureIRStructurizer : SubtargetFeature <"enable-irstructurizer", // Target features +def FeatureIfCvt : SubtargetFeature <"disable-ifcvt", + "EnableIfCvt", + "false", + "Disable the if conversion pass">; + def FeatureFP64 : SubtargetFeature<"fp64", "FP64", "true", |