Skip to content

Commit ae77fef

Browse files
committed
[NFC] Add a new Intrinsics.cpp file for intrinsic code
Add new file Intrinsics.cpp and move `lookupLLVMIntrinsicByName` to that file.
1 parent 20f4ade commit ae77fef

File tree

5 files changed

+1090
-1006
lines changed

5 files changed

+1090
-1006
lines changed

llvm/include/llvm/IR/Intrinsics.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//===----------------------------------------------------------------------===//
88
//
99
// This file defines a set of enums which allow processing of intrinsic
10-
// functions. Values of these enum types are returned by
10+
// functions. Values of these enum types are returned by
1111
// Function::getIntrinsicID.
1212
//
1313
//===----------------------------------------------------------------------===//

llvm/lib/IR/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ add_llvm_component_library(LLVMCore
3232
GCStrategy.cpp
3333
GVMaterializer.cpp
3434
Globals.cpp
35+
Intrinsics.cpp
3536
IRBuilder.cpp
3637
IRPrintingPasses.cpp
3738
SSAContext.cpp

0 commit comments

Comments
 (0)