mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 03:53:04 +02:00
[fast-isel] Fast-isel doesn't use the expect intrinsic.
llvm-svn: 156658
This commit is contained in:
parent
d81273be58
commit
20f6e62e43
@ -570,9 +570,10 @@ bool FastISel::SelectCall(const User *I) {
|
|||||||
// Handle selected intrinsic function calls.
|
// Handle selected intrinsic function calls.
|
||||||
switch (F->getIntrinsicID()) {
|
switch (F->getIntrinsicID()) {
|
||||||
default: break;
|
default: break;
|
||||||
// At -O0 we don't care about the lifetime intrinsics.
|
// At -O0 we don't care about the lifetime or expect intrinsics.
|
||||||
case Intrinsic::lifetime_start:
|
case Intrinsic::lifetime_start:
|
||||||
case Intrinsic::lifetime_end:
|
case Intrinsic::lifetime_end:
|
||||||
|
case Intrinsic::expect:
|
||||||
return true;
|
return true;
|
||||||
case Intrinsic::dbg_declare: {
|
case Intrinsic::dbg_declare: {
|
||||||
const DbgDeclareInst *DI = cast<DbgDeclareInst>(Call);
|
const DbgDeclareInst *DI = cast<DbgDeclareInst>(Call);
|
||||||
|
Loading…
Reference in New Issue
Block a user