diff options
| author | Tim Northover <tnorthover@apple.com> | 2016-08-23 21:01:33 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2016-08-23 21:01:33 +0000 |
| commit | bdf67c9a00d0cba65506f39edc4d06d4aac98cff (patch) | |
| tree | 04e085eace34983a0b1076593752814b8c8e4b46 /llvm/lib/CodeGen/GlobalISel/MachineLegalizer.cpp | |
| parent | 6cd4b23a0fc9cc2f24d996148e170b0a538079d7 (diff) | |
| download | bcm5719-llvm-bdf67c9a00d0cba65506f39edc4d06d4aac98cff.tar.gz bcm5719-llvm-bdf67c9a00d0cba65506f39edc4d06d4aac98cff.zip | |
GlobalISel: make truncate/extend casts uniform
They really should have both types represented, but early variants were created
before MachineInstrs could have multiple types so they're rather ambiguous.
llvm-svn: 279567
Diffstat (limited to 'llvm/lib/CodeGen/GlobalISel/MachineLegalizer.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/GlobalISel/MachineLegalizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/GlobalISel/MachineLegalizer.cpp b/llvm/lib/CodeGen/GlobalISel/MachineLegalizer.cpp index 6ac0c80c836..6c00810fb68 100644 --- a/llvm/lib/CodeGen/GlobalISel/MachineLegalizer.cpp +++ b/llvm/lib/CodeGen/GlobalISel/MachineLegalizer.cpp @@ -27,7 +27,7 @@ using namespace llvm; MachineLegalizer::MachineLegalizer() : TablesInitialized(false) { // FIXME: these two can be legalized to the fundamental load/store Jakob // proposed. Once loads & stores are supported. - DefaultActions[TargetOpcode::G_ANYEXTEND] = Legal; + DefaultActions[TargetOpcode::G_ANYEXT] = Legal; DefaultActions[TargetOpcode::G_TRUNC] = Legal; DefaultActions[TargetOpcode::G_INTRINSIC] = Legal; |

