R600/SI: Add a lower case alias for subtarget feature: +DumpCode
authorTom Stellard <thomas.stellard@amd.com>
Tue, 28 Apr 2015 17:37:00 +0000 (17:37 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 28 Apr 2015 17:37:00 +0000 (17:37 +0000)
llc converts all feature strings to lower case, while the LLVM C API
does not, so we need a lower case alias in order to test this with llc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236003 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/R600/AMDGPU.td

index 2e0e30a0fbca05b06dd420e8abfaa6ad338f916e..f4ad07f0fc29dd173ffa290db11092e7b4c3dfce 100644 (file)
@@ -20,6 +20,11 @@ def FeatureDumpCode : SubtargetFeature <"DumpCode",
         "true",
         "Dump MachineInstrs in the CodeEmitter">;
 
+def FeatureDumpCodeLower : SubtargetFeature <"dumpcode",
+        "DumpCode",
+        "true",
+        "Dump MachineInstrs in the CodeEmitter">;
+
 def FeatureIRStructurizer : SubtargetFeature <"disable-irstructurizer",
         "EnableIRStructurizer",
         "false",