Skip to content

missing implied subtarget features #1902

@sunfishcode

Description

@sunfishcode
Bugzilla Link 1530
Resolution FIXED
Resolved on Feb 22, 2010 12:50
Version trunk
OS All
CC @isanbard

Extended Description

llc -march=x86-64 -mcpu=opteron

gives this message:

Warning: 64-bit processors all have at least SSE2.

Looking at the code in lib/Target/SubtargetFeature.cpp,
SetImpliedBits isn't called for the base CPU's feature
bits, so even though "opteron" has the 64-bit feature
and 64-bit implies SSE2, -mcpu=opteron doesn't
automatically enable SSE2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions