This patch adds support for calling selectFNeg for FNeg instructions in addition to the fsub idiom
Details
Details
- Reviewers
andrew.w.kaylor cameron.mcinally spatel efriedma - Commits
- rZORG5d09f0d77d9d: [FastISel][X86] Support FNeg instruction in target independent fast isel…
rZORG47e2dde40d0f: [FastISel][X86] Support FNeg instruction in target independent fast isel…
rG5d09f0d77d9d: [FastISel][X86] Support FNeg instruction in target independent fast isel…
rG47e2dde40d0f: [FastISel][X86] Support FNeg instruction in target independent fast isel…
rG493aec3ef5c2: [FastISel][X86] Support FNeg instruction in target independent fast isel…
rL360273: [FastISel][X86] Support FNeg instruction in target independent fast isel…
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
If we end up with more UnaryOps in the future, it would make sense to create a selectUnaryOp(...). But that's probably overkill for now since no new UnOps are planned.