-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Closed as not planned
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillacode-cleanupllvm:irobsoleteIssues with old (unsupported) versions of LLVMIssues with old (unsupported) versions of LLVM
Description
| Bugzilla Link | 31034 |
| Version | trunk |
| OS | All |
| CC | @aymanmusa,@topperc,@RKSimon,@rotateright,@ZviRackover |
Extended Description
llvm::UpgradeIntrinsicCall() function in lib/IR/AutoUpgrade.cpp source file checks if the IR includes an old intrinsic and replaces it with the upgraded IR.
The checks are implemented by a long "if else" sequence which some compilers complain about when it gets too long (For example, Microsoft C++ compiler will accept up to 127 if-else statements).
A refactoring to this "structure" should be considered as an effort to reduce the use of llvm x86 specific intrinsics is being initiated, and as a result many new cases will be added to the same control flow in the future.
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillacode-cleanupllvm:irobsoleteIssues with old (unsupported) versions of LLVMIssues with old (unsupported) versions of LLVM