This is the patch that lowers x86 intrinsics to native IR
in order to enable optimizations.
Corresponding llvm part: https://reviews.llvm.org/D44785
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
- Build Status
Buildable 16347 Build 16347: arc lint + arc unit
Event Timeline
lib/CodeGen/CGBuiltin.cpp | ||
---|---|---|
7897 | We can't - SignedMaxValue is created in non-extended type and llvm::ConstantInt::get makes an assertion that the input is of the same type. We can perform sext() on SignedMaxValue but the result will be the same. |
Comment Actions
LGTM with that one comment.
lib/CodeGen/CGBuiltin.cpp | ||
---|---|---|
7881 | You could probably just do ResultType->getScalarSizeInBits() == 8 |
You could probably just do ResultType->getScalarSizeInBits() == 8