diff options
author | Rong Xu <xur@google.com> | 2020-12-14 18:41:09 -0800 |
---|---|---|
committer | Rong Xu <xur@google.com> | 2020-12-14 18:41:49 -0800 |
commit | c36f31c4db065e987160a776749f5da81efc24c5 (patch) | |
tree | 53f9df846ffeb0fbb6a3fb7f4357ff8133bc5676 /clang/lib/CodeGen/CGCall.cpp | |
parent | d7eba2005267aa4a8f46f73f208c7cc23e6c6a1a (diff) | |
download | llvm-c36f31c4db065e987160a776749f5da81efc24c5.zip llvm-c36f31c4db065e987160a776749f5da81efc24c5.tar.gz llvm-c36f31c4db065e987160a776749f5da81efc24c5.tar.bz2 |
[PGO] remove unintentional code in early commit
Remove unintentional code in
commit 54e03d [PGO] Verify BFI counts after loading profile data.
Diffstat (limited to 'clang/lib/CodeGen/CGCall.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGCall.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp index ced2876..73194be 100644 --- a/clang/lib/CodeGen/CGCall.cpp +++ b/clang/lib/CodeGen/CGCall.cpp @@ -1943,11 +1943,6 @@ void CodeGenModule::ConstructAttributeList( FuncAttrs.addAttribute(llvm::Attribute::NoReturn); if (TargetDecl->hasAttr<ColdAttr>()) FuncAttrs.addAttribute(llvm::Attribute::Cold); - if (TargetDecl->hasAttr<HotAttr>()) { - // xur - fprintf(stderr, "hihi 2\n"); - // FuncAttrs.addAttribute(llvm::Attribute::Hot); - } if (TargetDecl->hasAttr<NoDuplicateAttr>()) FuncAttrs.addAttribute(llvm::Attribute::NoDuplicate); if (TargetDecl->hasAttr<ConvergentAttr>()) |