mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-22 13:29:44 +00:00
Register FP regclasses
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76014 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b13057bafa
commit
2c97ae8826
@ -32,6 +32,7 @@
|
||||
#include "llvm/CodeGen/SelectionDAGISel.h"
|
||||
#include "llvm/CodeGen/ValueTypes.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Target/TargetOptions.h"
|
||||
#include "llvm/ADT/VectorExtras.h"
|
||||
using namespace llvm;
|
||||
|
||||
@ -47,6 +48,11 @@ SystemZTargetLowering::SystemZTargetLowering(SystemZTargetMachine &tm) :
|
||||
addRegisterClass(MVT::i128, SystemZ::GR128RegisterClass);
|
||||
addRegisterClass(MVT::v2i64,SystemZ::GR128RegisterClass);
|
||||
|
||||
if (!UseSoftFloat) {
|
||||
addRegisterClass(MVT::f32, SystemZ::FP32RegisterClass);
|
||||
addRegisterClass(MVT::f64, SystemZ::FP64RegisterClass);
|
||||
}
|
||||
|
||||
// Compute derived properties from the register classes
|
||||
computeRegisterProperties();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user