Merge pull request #118 from THU-DSP-LAB/checkInstr

[VENTUS][fix] Assign initial value for VastartStoreFrameIndex
This commit is contained in:
zhoujingya 2024-05-18 14:17:34 +08:00 committed by GitHub
commit c168c442ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ enum NodeType : unsigned {
class RISCVTargetLowering : public TargetLowering {
const RISCVSubtarget &Subtarget;
int *VastartStoreFrameIndex = new int;
int *VastartStoreFrameIndex = new int(INT_MAX);
public:
explicit RISCVTargetLowering(const TargetMachine &TM,
const RISCVSubtarget &STI);