OSDN Git Service

android: IR: Rename the tablegen'd Attributes file to .gen
authorMauro Rossi <issor.oruam@gmail.com>
Fri, 31 Aug 2018 20:55:52 +0000 (22:55 +0200)
committerMauro Rossi <issor.oruam@gmail.com>
Sat, 8 Sep 2018 07:29:42 +0000 (09:29 +0200)
Reference:
e255157a48 ("IR: Rename the tablegen'd Attributes file to .gen")

Android.bp
soong/tblgen.go

index 6389bf9..4875725 100644 (file)
@@ -140,7 +140,7 @@ cc_library_headers {
 llvm_tblgen {
     name: "llvm-gen-attributes",
     in: "include/llvm/IR/Attributes.td",
-    outs: ["llvm/IR/Attributes.inc"],
+    outs: ["llvm/IR/Attributes.gen"],
 }
 
 llvm_tblgen {
index 9ec0605..78932b9 100644 (file)
@@ -132,7 +132,7 @@ func outToGenerator(ctx android.ModuleContext, out string) string {
                return "-gen-register-bank"
        case strings.HasSuffix(out, "GenGlobalISel.inc"):
                return "-gen-global-isel"
-       case out == "Attributes.inc", out == "AttributesCompatFunc.inc":
+       case out == "Attributes.gen", out == "AttributesCompatFunc.inc":
                return "-gen-attrs"
        case out == "Intrinsics.gen":
                return "-gen-intrinsic"