Skip to content
Commit 04f72fc9 authored by Evan Cheng's avatar Evan Cheng
Browse files

CommuteChangesDestination() should check if to-be-commuted instruction defines...

CommuteChangesDestination() should check if to-be-commuted instruction defines any register. Also teaches the default commuteInstruction() to commute instruction without definitions (e.g. X86::test / ARM::tsp).

llvm-svn: 74602
parent 2a5efe14
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment